summaryrefslogtreecommitdiffstats
path: root/src/dlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlog.h')
-rw-r--r--src/dlog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dlog.h b/src/dlog.h
index 036c5c0..79c217e 100644
--- a/src/dlog.h
+++ b/src/dlog.h
@@ -21,6 +21,10 @@
#include <syslog.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file
*
* Contains a robust API for logging messages
@@ -58,4 +62,8 @@ void daemon_log(int prio, const char* t, ...);
*/
char *daemon_ident_from_argv0(char *argv0);
+#ifdef __cplusplus
+}
+#endif
+
#endif