From 93d6513d9315fa72d7af4ac2435f8c1e243273cb Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Thu, 6 Apr 2000 08:06:36 +0000 Subject: Some more minor updates to better use some gcc attributes. -Erik --- sysklogd/syslogd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysklogd') diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 464d7846e..5d6d2a0dd 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -74,6 +74,8 @@ static const char syslogd_usage[] = /* Note: There is also a function called "message()" in init.c */ /* Print a message to the log file. */ +static void message(char *fmt, ...) + __attribute__ ((format (printf, 1, 2))); static void message(char *fmt, ...) { int fd; -- cgit v1.2.3