diff --git a/ipc/shm.c b/ipc/shm.c index ce1ca9f7c6e97ca5035963d2d64e3c57fefe7f6c..0ba6add05b35afdb0ee7947c6ece7fb9ecc64c65 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -1332,7 +1332,7 @@ static int copy_compat_shmid_from_user(struct shmid64_ds *out, void __user *buf, } } -long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version) +static long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version) { struct ipc_namespace *ns; struct shmid64_ds sem64;