[BACK]Return to common.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / patch

Diff for /src/usr.bin/patch/common.h between version 1.4 and 1.5

version 1.4, 1996/09/24 02:58:53 version 1.5, 1996/09/24 04:19:25
Line 16 
Line 16 
 #define Close (void)close  #define Close (void)close
 #define Fclose (void)fclose  #define Fclose (void)fclose
 #define Fflush (void)fflush  #define Fflush (void)fflush
 #define Sprintf (void)sprintf  #define Snprintf (void)snprintf
 #define Strcpy (void)strcpy  #define Strcpy (void)strcpy
 #define Strcat (void)strcat  #define Strcat (void)strcat
   
Line 82 
Line 82 
 #define strnNE(s1,s2,l) (strncmp(s1, s2, l))  #define strnNE(s1,s2,l) (strncmp(s1, s2, l))
 #define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))  #define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
   
 #define Mkstemp mkstemp  
   
 /* typedefs */  /* typedefs */
   
 typedef char bool;  typedef char bool;
Line 172 
Line 170 
 int  mkstemp();  int  mkstemp();
 #if 0                           /* This can cause a prototype conflict.  */  #if 0                           /* This can cause a prototype conflict.  */
 #ifdef CHARSPRINTF  #ifdef CHARSPRINTF
 char *sprintf();  char *snprintf();
 #else  #else
 int sprintf();  int snprintf();
 #endif  #endif
 #endif  #endif
   

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