summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-27 14:29:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-27 14:29:09 +0000
commitcebbf6d44ef277c7349fec19e70f93915b351e2a (patch)
tree78ecc0d718d255e06e55fabf87a1244598574783 /syslogd.h
parentc7b246e3b64b79f588f364d904cdb1337eccd91b (diff)
downloadrsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.gz
rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.xz
rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.zip
some cleanup
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.h b/syslogd.h
index 655c01fc..40efdb81 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -49,7 +49,7 @@
#define ADDDATE 0x004 /* add a date to the message */
#define MARK 0x008 /* this message is a mark */
-void dbgprintf(char *, ...);
+void dbgprintf(char *, ...) __attribute__((format(printf, 1, 2)));
void logerror(char *type);
void logerrorSz(char *type, char *errMsg);
void logerrorInt(char *type, int iErr);