diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-09-18 16:13:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-09-18 16:13:16 -0700 |
commit | d19e0d1fe15de6b9a2bfffe30bd041497c021eaf (patch) | |
tree | 47c6daf91037ad37eb4dc17a302e0531c6ed00c2 /src/Xv.c | |
parent | 3c80665e7c53db021b52ad267c12c6b4f43e7c3a (diff) |
Add argument types to static function prototypes to clear sparse & lint warnings
Diffstat (limited to 'src/Xv.c')
-rw-r--r-- | src/Xv.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -64,9 +64,10 @@ static char *xv_extension_name = XvName; #define XvCheckExtension(dpy, i, val) \ XextCheckExtension(dpy, i, xv_extension_name, val) -static char *xv_error_string(); -static int xv_close_display(); -static Bool xv_wire_to_event(); +static char *xv_error_string(Display *dpy, int code, XExtCodes *codes, + char * buf, int n); +static int xv_close_display(Display *dpy, XExtCodes *codes); +static Bool xv_wire_to_event(Display *dpy, XEvent *host, xEvent *wire); static XExtensionHooks xv_extension_hooks = { NULL, /* create_gc */ |