[BACK]Return to err.h CVS log [TXT][DIR] Up to [local] / prex-old / usr / include

Diff for /prex-old/usr/include/err.h between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:47 version 1.1.1.1.2.1, 2008/08/13 17:12:36
Line 32 
Line 32 
 #ifndef _ERR_H_  #ifndef _ERR_H_
 #define _ERR_H_  #define _ERR_H_
   
 /*  #include <machine/stdarg.h>
  * Don't use va_list in the err/warn prototypes.   Va_list is typedef'd in two  
  * places (<machine/varargs.h> and <machine/stdarg.h>), so if we include one  
  * of them here we may collide with the utility's includes.  It's unreasonable  
  * for utilities to have to include one of them to include err.h, so we get  
  * _BSD_VA_LIST_ from <machine/ansi.h> and use it.  
  */  
 #include <machine/ansi.h>  
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
 __BEGIN_DECLS  __BEGIN_DECLS
 void    err (int, const char *, ...) __noreturn;  void    err (int, const char *, ...) __noreturn;
 void    verr (int, const char *, _BSD_VA_LIST_) __noreturn;  void    verr (int, const char *, va_list) __noreturn;
 void    errx (int, const char *, ...) __noreturn;  void    errx (int, const char *, ...) __noreturn;
 void    verrx (int, const char *, _BSD_VA_LIST_) __noreturn;  void    verrx (int, const char *, va_list) __noreturn;
 void            warn (const char *, ...);  void    warn (const char *, ...);
 void            vwarn (const char *, _BSD_VA_LIST_);  void    vwarn (const char *, va_list);
 void            warnx (const char *, ...);  void    warnx (const char *, ...);
 void            vwarnx (const char *, _BSD_VA_LIST_);  void    vwarnx (const char *, va_list);
 __END_DECLS  __END_DECLS
   
 #endif /* !_ERR_H_ */  #endif /* !_ERR_H_ */

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb