summaryrefslogtreecommitdiffstats
path: root/syslogd.h
diff options
context:
space:
mode:
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);