Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.

-Erik
This commit is contained in:
Eric Andersen
2000-06-19 18:14:20 +00:00
parent b7362e36a8
commit a15cd0be34
6 changed files with 14 additions and 14 deletions

View File

@ -42,12 +42,10 @@
#include <sys/param.h>
#include <linux/unistd.h>
#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);