summaryrefslogtreecommitdiffstats
path: root/avahi-core/log.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-28 22:09:17 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-28 22:09:17 +0000
commit14f8d9beb7ef14b0aab5512345e09109bdd8cb0c (patch)
tree83828a846e27bbdee70febaa58a85a65439052a2 /avahi-core/log.h
parentf93c4009fd022577c8fe989343172b849e792aa2 (diff)
* recreate DNS query in simple protocol on host or domain name changes
* C++ compatibility git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
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