summaryrefslogtreecommitdiff
path: root/src/theatre200.h
diff options
context:
space:
mode:
authorBogdan Diaconescu <b_diaconescu@yahoo.com>2005-11-07 19:28:40 +0000
committerBogdan Diaconescu <b_diaconescu@yahoo.com>2005-11-07 19:28:40 +0000
commite1259c0117a190cf4c6e7be07d5aa83e03afb3a0 (patch)
tree202319992d6c62cecf7f71eeaab59f7f4a627d2b /src/theatre200.h
parent67bdaae04ab37f38a6d0c8dc4b6328c3ba3b3393 (diff)
Replaced the variadic macros(gcc) by macros according to C99 standard
Diffstat (limited to 'src/theatre200.h')
-rw-r--r--src/theatre200.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/theatre200.h b/src/theatre200.h
index e7a8f975..b2a1656b 100644
--- a/src/theatre200.h
+++ b/src/theatre200.h
@@ -23,6 +23,9 @@
* authorization from the author.
*
* $Log$
+ * Revision 1.4 2005/11/07 19:28:40 bogdand
+ * Replaced the variadic macros(gcc) by macros according to C99 standard
+ *
* Revision 1.3 2005/08/28 18:00:23 bogdand
* Modified the licens type from GPL to a X/MIT one
*
@@ -43,11 +46,23 @@
/* #define ENABLE_DEBUG 1 */
#ifdef ENABLE_DEBUG
-#define ERROR(str...) xf86DrvMsg(screen, X_ERROR, ##str)
-#define DEBUG(str...) xf86DrvMsg(screen, X_INFO, ##str)
+#define ERROR_0(str) xf86DrvMsg(screen, X_ERROR, str)
+#define DEBUG_0(str) xf86DrvMsg(screen, X_INFO, str)
+#define ERROR(str,param1) xf86DrvMsg(screen, X_ERROR, str, param1)
+#define DEBUG(str,param1) xf86DrvMsg(screen, X_INFO, str, param1)
+#define ERROR_2(str,param1,param2) xf86DrvMsg(screen, X_ERROR, str, param1, param2)
+#define DEBUG_2(str,param1,param2) xf86DrvMsg(screen, X_INFO, str, param1, param2)
+#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(fmt,str...)
-#define DEBUG(fmt,str...)
+#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)
#endif