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 --- syslogd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index 464d784..5d6d2a0 100644 --- a/syslogd.c +++ b/syslogd.c @@ -75,6 +75,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; va_list arguments; -- cgit v1.1