Remove remaining libc5 support code
This commit is contained in:
@@ -38,14 +38,7 @@
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
# ifdef __alpha__
|
||||
# define klogctl syslog
|
||||
# endif
|
||||
#else
|
||||
# include <sys/klog.h>
|
||||
#endif
|
||||
#include <sys/klog.h>
|
||||
|
||||
#include "busybox.h"
|
||||
|
||||
|
@@ -35,13 +35,6 @@
|
||||
#include <setjmp.h>
|
||||
#include "busybox.h"
|
||||
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
#error Sorry. Looks like you are using libc5.
|
||||
#error libc5 shm support isnt good enough.
|
||||
#error Please disable CONFIG_FEATURE_IPC_SYSLOG
|
||||
#endif
|
||||
|
||||
|
||||
static const long KEY_ID = 0x414e4547; /*"GENA"*/
|
||||
|
||||
static struct shbuf_ds {
|
||||
|
@@ -86,12 +86,6 @@ static int local_logging = FALSE;
|
||||
|
||||
/* circular buffer variables/structures */
|
||||
#ifdef CONFIG_FEATURE_IPC_SYSLOG
|
||||
#if __GNU_LIBRARY__ < 5
|
||||
#error Sorry. Looks like you are using libc5.
|
||||
#error libc5 shm support isnt good enough.
|
||||
#error Please disable CONFIG_FEATURE_IPC_SYSLOG
|
||||
#endif
|
||||
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
Reference in New Issue
Block a user