aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c1
-rw-r--r--util-linux/swaponoff.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index b6c990d99..df2bce713 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -23,7 +23,6 @@
#ifndef __alpha__
# define __NR_klogctl __NR_syslog
-#include <sys/syscall.h>
static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
#else /* __alpha__ */
#define klogctl syslog
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index bb8395fa4..b43f3cdc1 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -28,7 +28,6 @@
#include <mntent.h>
#include <dirent.h>
#include <errno.h>
-#include <sys/syscall.h>
_syscall2(int, swapon, const char *, path, int, flags);
_syscall1(int, swapoff, const char *, path);