summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--syslogd.c1
-rw-r--r--syslogd.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index de4c311e..d58e6d12 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -2360,6 +2360,7 @@ void logerrorVar(char *fmt, ...)
return;
}
+
/* Print syslogd errors some place.
*/
void logerror(char *type)
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);