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

Diff for /src/usr.bin/m4/trace.c between version 1.12 and 1.13

version 1.12, 2005/01/21 19:11:02 version 1.13, 2006/01/20 23:10:19
Line 24 
Line 24 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */   */
   
 #include <sys/types.h>  
 #include <stddef.h>  #include <stddef.h>
   #include <stdint.h>
 #include <stdio.h>  #include <stdio.h>
 #include <err.h>  
 #include <stdlib.h>  #include <stdlib.h>
   #include <err.h>
 #include "mdef.h"  #include "mdef.h"
 #include "stdd.h"  #include "stdd.h"
 #include "extern.h"  #include "extern.h"
Line 142 
Line 142 
                 fprintf(traceout, "id %lu: ", expansion_id);                  fprintf(traceout, "id %lu: ", expansion_id);
 }  }
   
 ssize_t  size_t
 trace(const char *argv[], int argc, struct input_file *inp)  trace(const char *argv[], int argc, struct input_file *inp)
 {  {
         if (!traceout)          if (!traceout)
Line 179 
Line 179 
                 return buffer_mark();                  return buffer_mark();
         else {          else {
                 fprintf(traceout, "\n");                  fprintf(traceout, "\n");
                 return -1;                  return SIZE_MAX;
         }          }
 }  }
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13