diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 19:51:06 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 19:51:06 +0000 |
commit | 38ed63d75907d0f4380f7c44350c17cc9f76f764 (patch) | |
tree | 3449731a34a681d83235ee75244d6384d957bc17 /log.h | |
parent | fac7769f64b3c5873d3d34f82364a353b1fec864 (diff) |
- deraadt@cvs.openbsd.org 2002/05/19 20:54:52
[log.h]
extra commas in enum not 100% portable
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: log.h,v 1.6 2002/02/22 12:20:34 markus Exp $ */ | 1 | /* $OpenBSD: log.h,v 1.7 2002/05/19 20:54:52 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -33,7 +33,7 @@ typedef enum { | |||
33 | SYSLOG_FACILITY_LOCAL5, | 33 | SYSLOG_FACILITY_LOCAL5, |
34 | SYSLOG_FACILITY_LOCAL6, | 34 | SYSLOG_FACILITY_LOCAL6, |
35 | SYSLOG_FACILITY_LOCAL7, | 35 | SYSLOG_FACILITY_LOCAL7, |
36 | SYSLOG_FACILITY_NOT_SET = -1, | 36 | SYSLOG_FACILITY_NOT_SET = -1 |
37 | } SyslogFacility; | 37 | } SyslogFacility; |
38 | 38 | ||
39 | typedef enum { | 39 | typedef enum { |
@@ -45,7 +45,7 @@ typedef enum { | |||
45 | SYSLOG_LEVEL_DEBUG1, | 45 | SYSLOG_LEVEL_DEBUG1, |
46 | SYSLOG_LEVEL_DEBUG2, | 46 | SYSLOG_LEVEL_DEBUG2, |
47 | SYSLOG_LEVEL_DEBUG3, | 47 | SYSLOG_LEVEL_DEBUG3, |
48 | SYSLOG_LEVEL_NOT_SET = -1, | 48 | SYSLOG_LEVEL_NOT_SET = -1 |
49 | } LogLevel; | 49 | } LogLevel; |
50 | 50 | ||
51 | void log_init(char *, LogLevel, SyslogFacility, int); | 51 | void log_init(char *, LogLevel, SyslogFacility, int); |