From 85e5e72bc1acd9d58c11bde6e14c8270cd9f169f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 22 Jul 2003 08:56:55 +0000 Subject: Remove remaining libc5 support code --- util-linux/dmesg.c | 9 +-------- util-linux/swaponoff.c | 7 ------- 2 files changed, 1 insertion(+), 15 deletions(-) (limited to 'util-linux') diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 6e0d6947f..0c0d2d7c0 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -22,14 +22,7 @@ #include #include #include - -#if __GNU_LIBRARY__ < 5 -# ifdef __alpha__ -# define klogctl syslog -# endif -#else -# include -#endif +#include #include "busybox.h" diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 1f3e930a1..9da70756e 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -28,14 +28,7 @@ #include #include #include - -#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 -#endif #include "busybox.h" -- cgit v1.2.3