changeset 293:3fa910269508

Remove extra semicolon from macro definition, #undef DEBUG
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 25 Dec 2004 18:18:03 +0000
parents 5a50071cca9d
children f0ece2d20094
files src/xmms-sid.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.h	Sat Dec 25 18:17:01 2004 +0000
+++ b/src/xmms-sid.h	Sat Dec 25 18:18:03 2004 +0000
@@ -44,7 +44,7 @@
  * Some constants and defines
  */
 /* Define for spurious debugging messages */
-#define DEBUG
+#undef DEBUG
 
 /* Define to enable non-portable thread and mutex debugging code.
  * (Works probably with Linux glibc only)
@@ -93,12 +93,12 @@
 #define XS_MPP(M)	M ## _mutex
 #if XS_MUTEX_DEBUG
 #define XS_MUTEX(M)		pthread_mutex_t	XS_MPP(M) = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; int M ## _qq;
-#define XS_MUTEX_H(M)		extern pthread_mutex_t XS_MPP(M); extern int M ## _qq;
+#define XS_MUTEX_H(M)		extern pthread_mutex_t XS_MPP(M); extern int M ## _qq
 #define XS_MUTEX_LOCK(M)	{ M ## _qq = pthread_mutex_lock(&XS_MPP(M)); if (M ## _qq) XSDEBUG("XS_MUTEX_LOCK(" #M ") == %i\n", M ## _qq); }
 #define XS_MUTEX_UNLOCK(M)	{ M ## _qq = pthread_mutex_unlock(&XS_MPP(M)); if (M ## _qq) XSDEBUG("XS_MUTEX_UNLOCK(" #M ") == %i\n", M ## _qq); }
 #else
 #define XS_MUTEX(M)		pthread_mutex_t	XS_MPP(M) = PTHREAD_MUTEX_INITIALIZER
-#define XS_MUTEX_H(M)		extern pthread_mutex_t XS_MPP(M);
+#define XS_MUTEX_H(M)		extern pthread_mutex_t XS_MPP(M)
 #define XS_MUTEX_LOCK(M)	pthread_mutex_lock(&XS_MPP(M))
 #define XS_MUTEX_UNLOCK(M)	pthread_mutex_unlock(&XS_MPP(M))
 #endif