diff options
| author | Eric Andersen <andersen@codepoet.org> | 2000-06-19 18:14:20 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2000-06-19 18:14:20 +0000 |
| commit | a15cd0be34c81f445be6a2c2234ab0d355b71fba (patch) | |
| tree | ac3f2319edbd5435588e2399386a2c63f3fdba4a /sysklogd | |
| parent | b7362e36a80b639a64da3f662cbd0064038cad8a (diff) | |
| download | busybox-w32-a15cd0be34c81f445be6a2c2234ab0d355b71fba.tar.gz busybox-w32-a15cd0be34c81f445be6a2c2234ab0d355b71fba.tar.bz2 busybox-w32-a15cd0be34c81f445be6a2c2234ab0d355b71fba.zip | |
Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
-Erik
Diffstat (limited to 'sysklogd')
| -rw-r--r-- | sysklogd/syslogd.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 @@ | |||
| 42 | #include <sys/param.h> | 42 | #include <sys/param.h> |
| 43 | #include <linux/unistd.h> | 43 | #include <linux/unistd.h> |
| 44 | 44 | ||
| 45 | #ifndef socklen_t | ||
| 46 | typedef unsigned int socklen_t; | ||
| 47 | #endif | ||
| 48 | |||
| 49 | #if __GNU_LIBRARY__ < 5 | 45 | #if __GNU_LIBRARY__ < 5 |
| 50 | 46 | ||
| 47 | typedef unsigned int socklen_t; | ||
| 48 | |||
| 51 | #ifndef __alpha__ | 49 | #ifndef __alpha__ |
| 52 | # define __NR_klogctl __NR_syslog | 50 | # define __NR_klogctl __NR_syslog |
| 53 | static inline _syscall3(int, klogctl, int, type, char *, b, int, len); | 51 | static inline _syscall3(int, klogctl, int, type, char *, b, int, len); |
