From 664a31e4967a61ec61870f45adc2f1400617993e Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 29 Dec 1999 04:46:21 +0000 Subject: Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. --- sys/sys/syslog.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/sys/syslog.h') diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 8359101a59e8..21c16af99874 100644 --- a/sys/sys/syslog.h +++ b/sys/sys/syslog.h @@ -152,7 +152,7 @@ CODE facilitynames[] = { }; #endif -#ifdef KERNEL +#ifdef _KERNEL #define LOG_PRINTF -1 /* pseudo-priority to indicate use of printf */ #endif @@ -175,9 +175,9 @@ CODE facilitynames[] = { #define LOG_NOWAIT 0x10 /* don't wait for console forks: DEPRECATED */ #define LOG_PERROR 0x20 /* log to stderr as well */ -#ifdef KERNEL +#ifdef _KERNEL -#else /* not KERNEL */ +#else /* not _KERNEL */ /* * Don't use va_list in the vsyslog() prototype. Va_list is typedef'd in two @@ -197,6 +197,6 @@ void syslog __P((int, const char *, ...)) __printflike(2, 3); void vsyslog __P((int, const char *, _BSD_VA_LIST_)) __printflike(2, 0); __END_DECLS -#endif /* !KERNEL */ +#endif /* !_KERNEL */ #endif -- cgit v1.2.3