Make the 1.3 branch build with --disable-debug again. Fixes LM-113.
authorMartyn Russell <martyn@imendio.com>
Thu, 28 Feb 2008 02:52:37 +0100
changeset 348 48fdfa327cc7
parent 347 92cbc1e51a44
child 349 3dafc8376e9b
Make the 1.3 branch build with --disable-debug again. Fixes LM-113. committer: Mikael Hallendal <micke@imendio.com>
loudmouth/lm-debug.c
loudmouth/lm-debug.h
--- a/loudmouth/lm-debug.c	Thu Feb 28 02:21:47 2008 +0100
+++ b/loudmouth/lm-debug.c	Thu Feb 28 02:52:37 2008 +0100
@@ -85,5 +85,13 @@
 
 	initialized = TRUE;
 }
+
+#else  /* LM_NO_DEBUG */
+
+void 
+lm_debug_init (void)
+{
+}
+
 #endif /* LM_NO_DEBUG */
 
--- a/loudmouth/lm-debug.h	Thu Feb 28 02:21:47 2008 +0100
+++ b/loudmouth/lm-debug.h	Thu Feb 28 02:52:37 2008 +0100
@@ -69,11 +69,7 @@
 #  endif
 #endif
 
-#if LM_NO_DEBUG
-#  define lm_debug_init() {};
-#else
 void lm_debug_init (void);
-#endif
 
 #endif /* __LM_DEBUG_H__ */