[BACK]Return to misc.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / m4

Diff for /src/usr.bin/m4/misc.c between version 1.17 and 1.18

version 1.17, 2000/01/15 14:26:00 version 1.18, 2000/03/11 15:54:44
Line 142 
Line 142 
                 putback('-');                  putback('-');
 }  }
   
   /*
    *  pbunsigned - convert unsigned long to string, push back on input.
    */
   void
   pbunsigned(n)
           unsigned long n;
   {
           do {
                   putback(n % 10 + '0');
           }
           while ((n /= 10) > 0);
   }
   
 void  void
 initspaces()  initspaces()
Line 269 
Line 281 
                 }                  }
 }  }
   
 char *  void *
 xalloc(n)  xalloc(n)
         size_t n;          size_t n;
 {  {
Line 333 
Line 345 
          * XXX can't free filename, as there might still be           * XXX can't free filename, as there might still be
          * error information pointing to it.           * error information pointing to it.
          */           */
   }
   
   void
   doprintlineno(f)
           struct input_file *f;
   {
           pbunsigned(f->lineno);
   }
   
   void
   doprintfilename(f)
           struct input_file *f;
   {
           pbstr(f->name);
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18