summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-09-18 16:13:16 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-09-18 16:13:16 -0700
commitd19e0d1fe15de6b9a2bfffe30bd041497c021eaf (patch)
tree47c6daf91037ad37eb4dc17a302e0531c6ed00c2 /src
parent3c80665e7c53db021b52ad267c12c6b4f43e7c3a (diff)
Add argument types to static function prototypes to clear sparse & lint warnings
Diffstat (limited to 'src')
-rw-r--r--src/Xv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Xv.c b/src/Xv.c
index 80f1776..d92bd71 100644
--- a/src/Xv.c
+++ b/src/Xv.c
@@ -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 */