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

Diff for /src/usr.bin/file/Attic/print.c between version 1.3 and 1.4

version 1.3, 1997/02/09 23:58:32 version 1.4, 1997/07/25 21:05:26
Line 30 
Line 30 
 #include <stdio.h>  #include <stdio.h>
 #include <errno.h>  #include <errno.h>
 #include <string.h>  #include <string.h>
 #if __STDC__  #ifdef __STDC__
 # include <stdarg.h>  # include <stdarg.h>
 #else  #else
 # include <varargs.h>  # include <varargs.h>
Line 123 
Line 123 
   
 /*VARARGS*/  /*VARARGS*/
 void  void
 #if __STDC__  #ifdef __STDC__
 ckfprintf(FILE *f, const char *fmt, ...)  ckfprintf(FILE *f, const char *fmt, ...)
 #else  #else
 ckfprintf(va_alist)  ckfprintf(va_alist)
Line 131 
Line 131 
 #endif  #endif
 {  {
         va_list va;          va_list va;
 #if __STDC__  #ifdef __STDC__
         va_start(va, fmt);          va_start(va, fmt);
 #else  #else
         FILE *f;          FILE *f;
Line 151 
Line 151 
  */   */
 /*VARARGS*/  /*VARARGS*/
 void  void
 #if __STDC__  #ifdef __STDC__
 error(const char *f, ...)  error(const char *f, ...)
 #else  #else
 error(va_alist)  error(va_alist)
Line 159 
Line 159 
 #endif  #endif
 {  {
         va_list va;          va_list va;
 #if __STDC__  #ifdef __STDC__
         va_start(va, f);          va_start(va, f);
 #else  #else
         const char *f;          const char *f;
Line 178 
Line 178 
   
 /*VARARGS*/  /*VARARGS*/
 void  void
 #if __STDC__  #ifdef __STDC__
 magwarn(const char *f, ...)  magwarn(const char *f, ...)
 #else  #else
 magwarn(va_alist)  magwarn(va_alist)
Line 186 
Line 186 
 #endif  #endif
 {  {
         va_list va;          va_list va;
 #if __STDC__  #ifdef __STDC__
         va_start(va, f);          va_start(va, f);
 #else  #else
         const char *f;          const char *f;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4