summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-10-19 20:47:21 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-26 13:41:42 +0000
commitb1093241f3e28223a139e7cb5c3ae85182bdf545 (patch)
treec74211bf691f0b442b6fd44ecec5ba76ff683948 /Xext
parent02775efb8930291cc62fc84086c97da75b912a55 (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.c2
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 */