diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-10-19 20:47:21 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-01-26 13:41:42 +0000 |
commit | b1093241f3e28223a139e7cb5c3ae85182bdf545 (patch) | |
tree | c74211bf691f0b442b6fd44ecec5ba76ff683948 /Xext | |
parent | 02775efb8930291cc62fc84086c97da75b912a55 (diff) |
Xext: Warning fix for shm.c
shm.c: In function 'CheckForShmSyscall':
shm.c:182:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/shm.c b/Xext/shm.c index 7ca027a90..37900fe7f 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -179,7 +179,7 @@ SigSysHandler(int signo) static Bool CheckForShmSyscall(void) { - void (*oldHandler)(); + void (*oldHandler)(int); int shmid = -1; /* If no SHM support in the kernel, the bad syscall will generate SIGSYS */ |