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

Diff for /src/usr.bin/oldrdist/Attic/server.c between version 1.8 and 1.9

version 1.8, 1997/02/09 19:24:59 version 1.9, 1997/07/25 21:05:37
Line 1398 
Line 1398 
                 ack();                  ack();
 }  }
   
 #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__
 log(FILE *fp, const char *fmt, ...)  log(FILE *fp, const char *fmt, ...)
 #else  #else
 log(fp, fmt, va_alist)  log(fp, fmt, va_alist)
Line 1415 
Line 1415 
 #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);
Line 1431 
Line 1431 
 }  }
   
 void  void
 #if __STDC__  #ifdef __STDC__
 error(const char *fmt, ...)  error(const char *fmt, ...)
 #else  #else
 error(fmt, va_alist)  error(fmt, va_alist)
Line 1441 
Line 1441 
 {  {
         static FILE *fp;          static FILE *fp;
         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);
Line 1470 
Line 1470 
 }  }
   
 void  void
 #if __STDC__  #ifdef __STDC__
 fatal(const char *fmt, ...)  fatal(const char *fmt, ...)
 #else  #else
 fatal(fmt, va_alist)  fatal(fmt, va_alist)
Line 1480 
Line 1480 
 {  {
         static FILE *fp;          static FILE *fp;
         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);
Line 1568 
Line 1568 
 }  }
   
 static void  static void
 #if __STDC__  #ifdef __STDC__
 note(const char *fmt, ...)  note(const char *fmt, ...)
 #else  #else
 note(fmt, va_alist)  note(fmt, va_alist)
Line 1578 
Line 1578 
 {  {
         static char buf[BUFSIZ];          static char buf[BUFSIZ];
         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.8  
changed lines
  Added in v.1.9