aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
commit664a31e4967a61ec61870f45adc2f1400617993e (patch)
treef6e6a9488aad27e9b1298da3083e214c1c209505 /sys/sys/syslog.h
parenta0b57fb738b797a1aa540b8360260b19b6470bc4 (diff)
downloadsrc-664a31e4967a61ec61870f45adc2f1400617993e.tar.gz
src-664a31e4967a61ec61870f45adc2f1400617993e.zip
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.
Notes
Notes: svn path=/head/; revision=55205
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r--sys/sys/syslog.h8
1 files changed, 4 insertions, 4 deletions
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