aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1997-02-26 06:03:20 +0000
committerMike Pritchard <mpp@FreeBSD.org>1997-02-26 06:03:20 +0000
commit326bb3d177857385f5a63ed5f770b6d69f34c751 (patch)
tree0e4002669ef41e78efe20828de2aa47a0a9856f5 /sys/sys/syslog.h
parentbac06c08b77e6e896c5a463a14a24aa4acfd5310 (diff)
downloadsrc-326bb3d177857385f5a63ed5f770b6d69f34c751.tar.gz
src-326bb3d177857385f5a63ed5f770b6d69f34c751.zip
Silence -Wall when SYSLOG_NAMES is defined.
Submitted by: davidn
Notes
Notes: svn path=/head/; revision=23127
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r--sys/sys/syslog.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index d572cf84bbc2..1fb9c870e823 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.10 1997/02/22 09:46:05 peter Exp $
*/
#ifndef _SYS_SYSLOG_H_
@@ -72,19 +72,19 @@ typedef struct _code {
} CODE;
CODE prioritynames[] = {
- "alert", LOG_ALERT,
- "crit", LOG_CRIT,
- "debug", LOG_DEBUG,
- "emerg", LOG_EMERG,
- "err", LOG_ERR,
- "error", LOG_ERR, /* DEPRECATED */
- "info", LOG_INFO,
- "none", INTERNAL_NOPRI, /* INTERNAL */
- "notice", LOG_NOTICE,
- "panic", LOG_EMERG, /* DEPRECATED */
- "warn", LOG_WARNING, /* DEPRECATED */
- "warning", LOG_WARNING,
- NULL, -1,
+ { "alert", LOG_ALERT, },
+ { "crit", LOG_CRIT, },
+ { "debug", LOG_DEBUG, },
+ { "emerg", LOG_EMERG, },
+ { "err", LOG_ERR, },
+ { "error", LOG_ERR, }, /* DEPRECATED */
+ { "info", LOG_INFO, },
+ { "none", INTERNAL_NOPRI, }, /* INTERNAL */
+ { "notice", LOG_NOTICE, },
+ { "panic", LOG_EMERG, }, /* DEPRECATED */
+ { "warn", LOG_WARNING, }, /* DEPRECATED */
+ { "warning", LOG_WARNING, },
+ { NULL, -1, }
};
#endif
@@ -119,29 +119,29 @@ CODE prioritynames[] = {
#ifdef SYSLOG_NAMES
CODE facilitynames[] = {
- "auth", LOG_AUTH,
- "authpriv", LOG_AUTHPRIV,
- "cron", LOG_CRON,
- "daemon", LOG_DAEMON,
- "ftp", LOG_FTP,
- "kern", LOG_KERN,
- "lpr", LOG_LPR,
- "mail", LOG_MAIL,
- "mark", INTERNAL_MARK, /* INTERNAL */
- "news", LOG_NEWS,
- "security", LOG_AUTH, /* DEPRECATED */
- "syslog", LOG_SYSLOG,
- "user", LOG_USER,
- "uucp", LOG_UUCP,
- "local0", LOG_LOCAL0,
- "local1", LOG_LOCAL1,
- "local2", LOG_LOCAL2,
- "local3", LOG_LOCAL3,
- "local4", LOG_LOCAL4,
- "local5", LOG_LOCAL5,
- "local6", LOG_LOCAL6,
- "local7", LOG_LOCAL7,
- NULL, -1,
+ { "auth", LOG_AUTH, },
+ { "authpriv", LOG_AUTHPRIV, },
+ { "cron", LOG_CRON, },
+ { "daemon", LOG_DAEMON, },
+ { "ftp", LOG_FTP, },
+ { "kern", LOG_KERN, },
+ { "lpr", LOG_LPR, },
+ { "mail", LOG_MAIL, },
+ { "mark", INTERNAL_MARK, }, /* INTERNAL */
+ { "news", LOG_NEWS, },
+ { "security", LOG_AUTH, }, /* DEPRECATED */
+ { "syslog", LOG_SYSLOG, },
+ { "user", LOG_USER, },
+ { "uucp", LOG_UUCP, },
+ { "local0", LOG_LOCAL0, },
+ { "local1", LOG_LOCAL1, },
+ { "local2", LOG_LOCAL2, },
+ { "local3", LOG_LOCAL3, },
+ { "local4", LOG_LOCAL4, },
+ { "local5", LOG_LOCAL5, },
+ { "local6", LOG_LOCAL6, },
+ { "local7", LOG_LOCAL7, },
+ { NULL, -1, }
};
#endif