From feb9b77fc7a598f756734b3224a5acd4b5463f7d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 12 Nov 2004 15:22:45 +0000 Subject: add c++ extern definitions git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@68 153bfa13-eec0-0310-be40-b0cb6a0e1b4b --- src/dlog.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dlog.h') 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 +#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 -- cgit