From b1093241f3e28223a139e7cb5c3ae85182bdf545 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 19 Oct 2010 20:47:21 +0100 Subject: 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 Reviewed-by: Alan Coopersmith Reviewed-by: Colin Harrison --- Xext/shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3