Remove yet more kernel header dependancies.

-Erik
This commit is contained in:
Eric Andersen
2000-07-10 20:08:44 +00:00
parent a0053735dc
commit 9b2297a34e
15 changed files with 16 additions and 20 deletions

View File

@@ -23,7 +23,7 @@
#ifndef __alpha__
# define __NR_klogctl __NR_syslog
#include <linux/unistd.h>
#include <sys/syscall.h>
static inline _syscall3(int, klogctl, int, type, char *, b, int, len);
#else /* __alpha__ */
#define klogctl syslog

View File

@@ -28,7 +28,7 @@
#include <mntent.h>
#include <dirent.h>
#include <errno.h>
#include <linux/unistd.h>
#include <sys/syscall.h>
_syscall2(int, swapon, const char *, path, int, flags);
_syscall1(int, swapoff, const char *, path);