aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2004-10-18 08:54:02 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-18 08:54:02 -0700
commit09b9135c6e9950c0f12e3e6993ae52ab1baf0476 (patch)
treec77619bedfd3f7865ec7d31c29e6a7a7665b2dbb /ipc
parent40e39ce0f4eceee04555c45ae9918a017cd1686c (diff)
downloadhistory-09b9135c6e9950c0f12e3e6993ae52ab1baf0476.tar.gz
[PATCH] add missing linux/syscalls.h includes
I found that the prototypes for sys_waitid and sys_fcntl in <linux/syscalls.h> don't match the implementation. In order to keep all prototypes in sync in the future, now include the header from each file implementing any syscall. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mqueue.c1
-rw-r--r--ipc/msg.c1
-rw-r--r--ipc/sem.c1
-rw-r--r--ipc/shm.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 5cfcd4b68cb3f9..71634b6a08fdad 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -22,6 +22,7 @@
#include <linux/msg.h>
#include <linux/skbuff.h>
#include <linux/netlink.h>
+#include <linux/syscalls.h>
#include <net/sock.h>
#include "util.h"
diff --git a/ipc/msg.c b/ipc/msg.c
index a992a1fdb4ecb9..93d46e9352f627 100644
--- a/ipc/msg.c
+++ b/ipc/msg.c
@@ -24,6 +24,7 @@
#include <linux/list.h>
#include <linux/security.h>
#include <linux/sched.h>
+#include <linux/syscalls.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#include "util.h"
diff --git a/ipc/sem.c b/ipc/sem.c
index 32acee680759c4..06f756db359aeb 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -71,6 +71,7 @@
#include <linux/time.h>
#include <linux/smp_lock.h>
#include <linux/security.h>
+#include <linux/syscalls.h>
#include <asm/uaccess.h>
#include "util.h"
diff --git a/ipc/shm.c b/ipc/shm.c
index 530fb1f6ae1d63..f5ca90c8addb5d 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -26,6 +26,7 @@
#include <linux/proc_fs.h>
#include <linux/shmem_fs.h>
#include <linux/security.h>
+#include <linux/syscalls.h>
#include <asm/uaccess.h>
#include "util.h"