summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-06 19:51:06 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-06 19:51:06 +0000
commit38ed63d75907d0f4380f7c44350c17cc9f76f764 (patch)
tree3449731a34a681d83235ee75244d6384d957bc17 /log.h
parentfac7769f64b3c5873d3d34f82364a353b1fec864 (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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/log.h b/log.h
index 42a9a6ec7..3e4c3c3a7 100644
--- a/log.h
+++ b/log.h
@@ -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
39typedef enum { 39typedef 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
51void log_init(char *, LogLevel, SyslogFacility, int); 51void log_init(char *, LogLevel, SyslogFacility, int);