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

Diff for /src/usr.bin/script/script.c between version 1.5 and 1.6

version 1.5, 1997/06/20 09:58:03 version 1.6, 1997/07/25 21:05:40
Line 247 
Line 247 
         exit(0);          exit(0);
 }  }
   
 #if __STDC__  #ifdef __STDC__
 #include <stdarg.h>  #include <stdarg.h>
 #else  #else
 #include <varargs.h>  #include <varargs.h>
 #endif  #endif
   
 void  void
 #if __STDC__  #ifdef __STDC__
 err(const char *fmt, ...)  err(const char *fmt, ...)
 #else  #else
 err(fmt, va_alist)  err(fmt, va_alist)
Line 263 
Line 263 
 #endif  #endif
 {  {
         va_list ap;          va_list ap;
 #if __STDC__  #ifdef __STDC__
         va_start(ap, fmt);          va_start(ap, fmt);
 #else  #else
         va_start(ap);          va_start(ap);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6