On 10/13/11 04:33 AM, Jon TURNEY wrote:
shm.c: In function 'CheckForShmSyscall':
shm.c:182:5: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
Signed-off-by: Jon TURNEY<[email protected]>
---
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
*/
Reviewed-by: Alan Coopersmith <[email protected]>
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel