summaryrefslogtreecommitdiffstats
path: root/avahi-core/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/log.h')
-rw-r--r--avahi-core/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/avahi-core/log.h b/avahi-core/log.h
index e75b6c0..280b2da 100644
--- a/avahi-core/log.h
+++ b/avahi-core/log.h
@@ -24,6 +24,9 @@
#include <stdarg.h>
#include <glib.h>
+#include <avahi-common/cdecl.h>
+
+AVAHI_C_DECL_BEGIN
#ifdef __GNUC__
#define AVAHI_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
@@ -74,4 +77,6 @@ void avahi_log_info(const gchar*format, ...) AVAHI_GCC_PRINTF_ATTR12;
/** Shortcut for avahi_log(AVAHI_LOG_DEBUG, ...) */
void avahi_log_debug(const gchar*format, ...) AVAHI_GCC_PRINTF_ATTR12;
+AVAHI_C_DECL_END
+
#endif