aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-08-18 22:36:09 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-08-18 22:36:09 +0000
commitf23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41 (patch)
tree6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/sys/syslog.h
parentfa074287a4952da8528838c7812d02678e4c7205 (diff)
downloadsrc-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.tar.gz
src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.zip
Fix up some sloppy coding practices:
- Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter.
Notes
Notes: svn path=/head/; revision=2112
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r--sys/sys/syslog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index 821f6a7c56bc..2f4e2383374c 100644
--- a/sys/sys/syslog.h
+++ b/sys/sys/syslog.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)syslog.h 8.1 (Berkeley) 6/2/93
- * $Id$
+ * $Id: syslog.h,v 1.2 1994/08/02 07:53:43 davidg Exp $
*/
#define _PATH_LOG "/dev/log"
@@ -165,7 +165,9 @@ CODE facilitynames[] = {
#define LOG_NOWAIT 0x10 /* don't wait for console forks: DEPRECATED */
#define LOG_PERROR 0x20 /* log to stderr as well */
-#ifndef KERNEL
+#ifdef KERNEL
+
+#else /* not KERNEL */
/*
* Don't use va_list in the vsyslog() prototype. Va_list is typedef'd in two