From a15cd0be34c81f445be6a2c2234ab0d355b71fba Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Jun 2000 18:14:20 +0000 Subject: Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6. -Erik --- sysklogd/syslogd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sysklogd') diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index d2fbc3d87..f4e7f459b 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -42,12 +42,10 @@ #include #include -#ifndef socklen_t -typedef unsigned int socklen_t; -#endif - #if __GNU_LIBRARY__ < 5 +typedef unsigned int socklen_t; + #ifndef __alpha__ # define __NR_klogctl __NR_syslog static inline _syscall3(int, klogctl, int, type, char *, b, int, len); -- cgit v1.2.3