# HG changeset patch # User Martyn Russell # Date 1204163557 -3600 # Node ID 48fdfa327cc7efed24dc6e9f45a947ef326e2821 # Parent 92cbc1e51a4407470815977977bf7db46416479f Make the 1.3 branch build with --disable-debug again. Fixes LM-113. committer: Mikael Hallendal diff -r 92cbc1e51a44 -r 48fdfa327cc7 loudmouth/lm-debug.c --- 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 */ diff -r 92cbc1e51a44 -r 48fdfa327cc7 loudmouth/lm-debug.h --- 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__ */