#ifdef NDEBUG
-static inline gboolean nice_debug_is_enabled (void) { return FALSE };
-static inline void nice_debug (const char *fmt, ...) G_GNUC_PRINTF (1, 2) { }
+static inline gboolean nice_debug_is_enabled (void) { return FALSE; }
+static inline void nice_debug (const char *fmt, ...) { }
#else
gboolean nice_debug_is_enabled (void);
void nice_debug (const char *fmt, ...) G_GNUC_PRINTF (1, 2);
}
}
+#ifndef NDEBUG
gboolean nice_debug_is_enabled (void)
{
return debug_enabled;
}
+#else
+/* Defined in agent-priv.h. */
+#endif
void nice_debug_enable (gboolean with_stun)
{
stun_debug_disable ();
}
+#ifndef NDEBUG
void nice_debug (const char *fmt, ...)
{
va_list ap;
va_end (ap);
}
}
+#else
+/* Defined in agent-priv.h. */
+#endif