diff options
author | mike <mike@FreeBSD.org> | 2002-08-21 16:20:02 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-08-21 16:20:02 +0000 |
commit | 9e6f796b0d2083dcc48c062853660f96db0a3c8d (patch) | |
tree | 7e9e16e835d265de592c113ee6c5d85f9be039cb /sys/sys/syslog.h | |
parent | d5203d1ff8cef07eff72ad400fde5c759623752e (diff) | |
download | FreeBSD-src-9e6f796b0d2083dcc48c062853660f96db0a3c8d.zip FreeBSD-src-9e6f796b0d2083dcc48c062853660f96db0a3c8d.tar.gz |
o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
macros, which are only MD because of gratuitous differences between
architectures.
o Change all headers to make use of this. This mainly involves
changing:
#ifdef _BSD_FOO_T_
typedef _BSD_FOO_T_ foo_t;
#undef _BSD_FOO_T_
#endif
to:
#ifndef _FOO_T_DECLARED
typedef __foo_t foo_t;
#define _FOO_T_DECLARED
#endif
Concept by: bde
Reviewed by: jake, obrien
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r-- | sys/sys/syslog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 80cac0a..2b45ca4 100644 --- a/sys/sys/syslog.h +++ b/sys/sys/syslog.h @@ -186,17 +186,17 @@ CODE facilitynames[] = { * 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 syslog.h, so we get - * _BSD_VA_LIST_ from <machine/ansi.h> and use it. + * __va_list from <sys/_types.h> and use it. */ -#include <machine/ansi.h> #include <sys/cdefs.h> +#include <sys/_types.h> __BEGIN_DECLS void closelog(void); void openlog(const char *, int, int); int setlogmask(int); void syslog(int, const char *, ...) __printflike(2, 3); -void vsyslog(int, const char *, _BSD_VA_LIST_) __printflike(2, 0); +void vsyslog(int, const char *, __va_list) __printflike(2, 0); __END_DECLS #endif /* !_KERNEL */ |