* Copyright (c) 1993 The Regents of the University of California.
* %sccs.include.redist.c%
* @(#)err.h 5.1 (Berkeley) %G%
* 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>
__dead
void err
__P((int, const char *, ...));
__dead
void verr
__P((int, const char *, _BSD_VA_LIST_
));
__dead
void errx
__P((int, const char *, ...));
__dead
void verrx
__P((int, const char *, _BSD_VA_LIST_
));
void warn
__P((const char *, ...));
void vwarn
__P((const char *, _BSD_VA_LIST_
));
void warnx
__P((const char *, ...));
void vwarnx
__P((const char *, _BSD_VA_LIST_
));