Fixes so "make allnoconfig" works again.
[oweals/busybox.git] / util-linux / swaponoff.c
index 1f3e930a10ba123ead6d7d42ce7149c17bb77852..7c7031bcee79424fbac0edf0be42d9f8cc21ef9e 100644 (file)
@@ -2,8 +2,7 @@
 /*
  * Mini swapon/swapoff implementation for busybox
  *
- * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
- * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #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"