diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2015-02-27 12:54:34 -0500 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2015-03-20 13:36:53 -0400 |
commit | 6fc0e4ba1ea153ff949cba0002fc5ed544de0de0 (patch) | |
tree | 019d565380d582bac299cacfc6626a45cbf83b42 /tests | |
parent | 9588e66dbd695dce24e0aba54eaf94f573ab5363 (diff) |
Fix unused function warnings
v2: Remove the handler function instead of commenting out
split debugmsg function removal to a separate patch
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/drmstat.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/drmstat.c b/tests/drmstat.c index c6ff1ffc..c800ebb1 100644 --- a/tests/drmstat.c +++ b/tests/drmstat.c @@ -81,11 +81,6 @@ static void getversion(int fd) printf( "No driver available\n" ); } } - -void handler(int fd, void *oldctx, void *newctx) -{ - printf("Got fd %d\n", fd); -} static void process_sigio(char *device) { @@ -97,7 +92,6 @@ static void process_sigio(char *device) } sigio_fd = fd; - /* drmInstallSIGIOHandler(fd, handler); */ for (;;) sleep(60); } @@ -427,11 +421,4 @@ int main(int argc, char **argv) return r; } -void DRM_PRINTFLIKE(4, 0) -xf86VDrvMsgVerb(int scrnIndex, int type, int verb, const char *format, - va_list args) -{ - vfprintf(stderr, format, args); -} - int xf86ConfigDRI[10]; |