From: Eric Andersen Date: Mon, 19 Jun 2000 18:25:49 +0000 (-0000) Subject: Make swaponoff compile cleanly under both libc5 and libc6. X-Git-Tag: 0_45~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e29c6ffce509bc492a2acc4dd4102ac96d0f515;p=oweals%2Fbusybox.git Make swaponoff compile cleanly under both libc5 and libc6. -Erik --- diff --git a/swaponoff.c b/swaponoff.c index 83aadd08a..223436c29 100644 --- a/swaponoff.c +++ b/swaponoff.c @@ -25,11 +25,13 @@ #include "internal.h" #include #include -#include #include #include -#include #include +#include + +_syscall2(int, swapon, const char *, path, int, flags); +_syscall1(int, swapoff, const char *, path); static int whichApp; diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index 83aadd08a..223436c29 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -25,11 +25,13 @@ #include "internal.h" #include #include -#include #include #include -#include #include +#include + +_syscall2(int, swapon, const char *, path, int, flags); +_syscall1(int, swapoff, const char *, path); static int whichApp;