patch-2.3.26 linux/ipc/util.c

Next file: linux/ipc/util.h
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/ipc/util.c linux/ipc/util.c
@@ -14,6 +14,8 @@
 #include <linux/init.h>
 #include <linux/msg.h>
 
+#include "util.h"
+
 #if defined(CONFIG_SYSVIPC)
 
 extern void sem_init (void), msg_init (void), shm_init (void);
@@ -99,7 +101,7 @@
 	return -ENOSYS;
 }
 
-asmlinkage long sys_shmget (key_t key, int size, int flag)
+asmlinkage long sys_shmget (key_t key, size_t size, int shmflag)
 {
 	return -ENOSYS;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)