diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-06-05 00:10:03 +0200 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2013-06-05 00:14:53 +0200 |
commit | f42b1d5fd24ce9191418f660a3156614c2207101 (patch) | |
tree | 8ebcf544ad9f5921234e51630422e107a5e9b8a7 | |
parent | 0e01bfb38f88915dc07baceff6dec588072af731 (diff) | |
download | ratpoison-f42b1d5fd24ce9191418f660a3156614c2207101.zip |
contrib/{unrat,sloppy}.c: ansify defaulthandler()
-rw-r--r-- | contrib/sloppy.c | 2 | ||||
-rw-r--r-- | contrib/unrat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sloppy.c b/contrib/sloppy.c index 7b93d95..f0203b5 100644 --- a/contrib/sloppy.c +++ b/contrib/sloppy.c @@ -27,7 +27,7 @@ #include <sys/wait.h> #include <unistd.h> -int (*defaulthandler)(); +int (*defaulthandler)(Display *, XErrorEvent *); int errorhandler(Display *display, XErrorEvent *error) diff --git a/contrib/unrat.c b/contrib/unrat.c index 272ed6e..be42eea 100644 --- a/contrib/unrat.c +++ b/contrib/unrat.c @@ -31,7 +31,7 @@ gcc -g -Wall -O2 -I/usr/X11R6/include -o unrat unrat.c -L /usr/X11R6/lib -lX11 #include <stdio.h> #include <stdlib.h> -int (*defaulthandler)(); +int (*defaulthandler)(Display *, XErrorEvent *); int errorhandler(Display *display, XErrorEvent *error) |