summaryrefslogtreecommitdiff
path: root/lib/gibber
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gibber')
-rw-r--r--lib/gibber/gibber-debug.c4
-rw-r--r--lib/gibber/gibber-debug.h27
2 files changed, 0 insertions, 31 deletions
diff --git a/lib/gibber/gibber-debug.c b/lib/gibber/gibber-debug.c
index 69d24884..bf26d457 100644
--- a/lib/gibber/gibber-debug.c
+++ b/lib/gibber/gibber-debug.c
@@ -5,8 +5,6 @@
#include <glib.h>
-#ifdef ENABLE_DEBUG
-
static DebugFlags flags = 0;
static gboolean initialized = FALSE;
@@ -95,5 +93,3 @@ gibber_debug_stanza (DebugFlags flag,
g_free (node_str);
}
}
-
-#endif
diff --git a/lib/gibber/gibber-debug.h b/lib/gibber/gibber-debug.h
index c7ec2603..9f919d28 100644
--- a/lib/gibber/gibber-debug.h
+++ b/lib/gibber/gibber-debug.h
@@ -10,8 +10,6 @@
G_BEGIN_DECLS
-#ifdef ENABLE_DEBUG
-
typedef enum
{
DEBUG_TRANSPORT = 1 << 0,
@@ -51,31 +49,6 @@ void gibber_debug_stanza (DebugFlags flag, WockyStanza *stanza,
#endif /* DEBUG_FLAG */
-#else /* ENABLE_DEBUG */
-
-#ifdef DEBUG_FLAG
-
-static inline void
-DEBUG (
- const gchar *format,
- ...)
-{
-}
-
-static inline void
-DEBUG_STANZA (
- WockyStanza *stanza,
- const gchar *format,
- ...)
-{
-}
-
-#define DEBUGGING 0
-
-#endif /* DEBUG_FLAG */
-
-#endif /* ENABLE_DEBUG */
-
G_END_DECLS
#endif