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/dexec.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dexec.h') diff --git a/src/dexec.h b/src/dexec.h index de9f6ff..831cb9d 100644 --- a/src/dexec.h +++ b/src/dexec.h @@ -21,6 +21,10 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifdef __cplusplus +extern "C" { +#endif + /** \file * * Contains a robust API for running sub processes with STDOUT and @@ -44,4 +48,8 @@ */ int daemon_exec(const char *dir, int *ret, const char *prog, ...); +#ifdef __cplusplus +} +#endif + #endif -- cgit