[BACK]Return to err.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/err.h between version 1.1 and 1.2

version 1.1, 1995/10/18 08:41:12 version 1.2, 1997/08/24 21:28:03
Line 49 
Line 49 
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
 __BEGIN_DECLS  __BEGIN_DECLS
   
 __dead void     err __P((int, const char *, ...))  __dead void     err __P((int, const char *, ...))
                         __attribute__((noreturn, format (printf, 2, 3)));                          __attribute__((noreturn, format (printf, 2, 3)));
 __dead void     verr __P((int, const char *, _BSD_VA_LIST_))  __dead void     verr __P((int, const char *, _BSD_VA_LIST_))
Line 65 
Line 66 
                         __attribute__((format (printf, 1, 2)));                          __attribute__((format (printf, 1, 2)));
 void            vwarnx __P((const char *, _BSD_VA_LIST_))  void            vwarnx __P((const char *, _BSD_VA_LIST_))
                         __attribute__((format (printf, 1, 0)));                          __attribute__((format (printf, 1, 0)));
   
   #ifdef __indr_reference
   /*
    * The _* versios are for use in library functions so user-defined
    * versions of err*,warn* do not get used.
    */
   __dead void     _err __P((int, const char *, ...))
                           __attribute__((noreturn, format (printf, 2, 3)));
   __dead void     _verr __P((int, const char *, _BSD_VA_LIST_))
                           __attribute__((noreturn, format (printf, 2, 0)));
   __dead void     _errx __P((int, const char *, ...))
                           __attribute__((noreturn, format (printf, 2, 3)));
   __dead void     _verrx __P((int, const char *, _BSD_VA_LIST_))
                           __attribute__((noreturn, format (printf, 2, 0)));
   void            _warn __P((const char *, ...))
                           __attribute__((format (printf, 1, 2)));
   void            _vwarn __P((const char *, _BSD_VA_LIST_))
                           __attribute__((format (printf, 1, 0)));
   void            _warnx __P((const char *, ...))
                           __attribute__((format (printf, 1, 2)));
   void            _vwarnx __P((const char *, _BSD_VA_LIST_))
                           __attribute__((format (printf, 1, 0)));
   #endif
   
 __END_DECLS  __END_DECLS
   
 #endif /* !_ERR_H_ */  #endif /* !_ERR_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2