summaryrefslogtreecommitdiff
path: root/src/theatre200.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-06-15 19:58:11 +1000
committerDave Airlie <airlied@linux.ie>2006-06-15 19:58:11 +1000
commit58c6aac0669101481ef6b8217e5cede4573ece42 (patch)
tree2bd460798145d334202cdee1e045d6a78f66de70 /src/theatre200.h
parentb7a3e4c9b33f72ae447f99c0c765f24fce988142 (diff)
theatre: fix all -Wall warnings in theatre*
This fixes all the warnings, it doesn't clean up the horrible mess that is theatre*.[ch].
Diffstat (limited to 'src/theatre200.h')
-rw-r--r--src/theatre200.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/theatre200.h b/src/theatre200.h
index 9af18086..9602a159 100644
--- a/src/theatre200.h
+++ b/src/theatre200.h
@@ -62,14 +62,14 @@
#define ERROR_3(str,param1,param2,param3) xf86DrvMsg(screen, X_ERROR, str, param1, param2, param3)
#define DEBUG_3(str,param1,param2,param3) xf86DrvMsg(screen, X_INFO, str, param1, param2, param3)
#else
-#define ERROR_0(str)
-#define DEBUG_0(str)
-#define ERROR(str,param1)
-#define DEBUG(str,param1)
-#define ERROR_2(str,param1,param2)
-#define DEBUG_2(str,param1,param2)
-#define ERROR_3(str,param1,param2,param3)
-#define DEBUG_3(str,param1,param2,param3)
+#define ERROR_0(str) (void)screen
+#define DEBUG_0(str) (void)screen
+#define ERROR(str,param1) (void)screen
+#define DEBUG(str,param1) (void)screen
+#define ERROR_2(str,param1,param2) (void)screen
+#define DEBUG_2(str,param1,param2) (void)screen
+#define ERROR_3(str,param1,param2,param3) (void)screen
+#define DEBUG_3(str,param1,param2,param3) (void)screen
#endif