diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/dmesg.c | 9 | ||||
-rw-r--r-- | util-linux/swaponoff.c | 7 |
2 files changed, 1 insertions, 15 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 6e0d694..0c0d2d7 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -22,14 +22,7 @@ #include <stdlib.h> #include <getopt.h> #include <errno.h> - -#if __GNU_LIBRARY__ < 5 -# ifdef __alpha__ -# define klogctl syslog -# endif -#else -# include <sys/klog.h> -#endif +#include <sys/klog.h> #include "busybox.h" diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 1f3e930..9da7075 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -28,14 +28,7 @@ #include <string.h> #include <stdlib.h> #include <sys/mount.h> - -#if __GNU_LIBRARY__ < 5 -/* libc5 doesn't have sys/swap.h, define these here. */ -extern int swapon (__const char *__path, int __flags); -extern int swapoff (__const char *__path); -#else #include <sys/swap.h> -#endif #include "busybox.h" |