shm.c: In function 'CheckForShmSyscall': shm.c:182:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
Signed-off-by: Jon TURNEY <jon.tur...@dronecode.org.uk> --- Xext/shm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Xext/shm.c b/Xext/shm.c index 9c8beb2..f2d84be 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 */ -- 1.7.5.1 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel