summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-11 11:46:29 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-11 11:46:29 +0000
commit3c13abe20b35a6b11c9fabf81a30fa6ad19f130c (patch)
treec98c02c673907bdb2a55c6a79e41b25221c8add6 /syslogd.h
parentc1a8908b1e508dbd8760b17afd02666ef62b2fbc (diff)
downloadrsyslog-3c13abe20b35a6b11c9fabf81a30fa6ad19f130c.tar.gz
rsyslog-3c13abe20b35a6b11c9fabf81a30fa6ad19f130c.tar.xz
rsyslog-3c13abe20b35a6b11c9fabf81a30fa6ad19f130c.zip
some cleanup on logerrorVar()
Diffstat (limited to 'syslogd.h')
-rw-r--r--syslogd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/syslogd.h b/syslogd.h
index 17b45161..5551fee8 100644
--- a/syslogd.h
+++ b/syslogd.h
@@ -50,6 +50,8 @@
#define MARK 0x008 /* this message is a mark */
void logerror(char *type);
+void logerrorVar(char *fmt, ...) __attribute__((format(printf, 1, 2)));
+/* the following two are legacy and should be replaced over time */
void logerrorSz(char *type, char *errMsg);
void logerrorInt(char *type, int iErr);