aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-06 08:06:36 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-06 08:06:36 +0000
commit8a9842dffbfd6d8ae7ffcf1d56247bd7a71d48dd (patch)
treea7642802cbab4053e62cf13f2daa194c524da2e1 /sysklogd
parentbc0af72bd5319c8332c4fcb7ab8f4bcb3e31624f (diff)
downloadbusybox-w32-8a9842dffbfd6d8ae7ffcf1d56247bd7a71d48dd.tar.gz
busybox-w32-8a9842dffbfd6d8ae7ffcf1d56247bd7a71d48dd.tar.bz2
busybox-w32-8a9842dffbfd6d8ae7ffcf1d56247bd7a71d48dd.zip
Some more minor updates to better use some gcc attributes.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@436 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 464d7846e..5d6d2a0dd 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -75,6 +75,8 @@ static const char syslogd_usage[] =
75/* Note: There is also a function called "message()" in init.c */ 75/* Note: There is also a function called "message()" in init.c */
76/* Print a message to the log file. */ 76/* Print a message to the log file. */
77static void message(char *fmt, ...) 77static void message(char *fmt, ...)
78 __attribute__ ((format (printf, 1, 2)));
79static void message(char *fmt, ...)
78{ 80{
79 int fd; 81 int fd;
80 va_list arguments; 82 va_list arguments;