summaryrefslogtreecommitdiffstats
path: root/src/dexec.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-12 15:22:45 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-12 15:22:45 +0000
commitfeb9b77fc7a598f756734b3224a5acd4b5463f7d (patch)
tree89f8e0fa72e16d7e1563926e5891fc005e603e6c /src/dexec.h
parent191905cbc565ba1640af0a084d45086b9e2c6675 (diff)
add c++ extern definitions
git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@68 153bfa13-eec0-0310-be40-b0cb6a0e1b4b
Diffstat (limited to 'src/dexec.h')
-rw-r--r--src/dexec.h8
1 files changed, 8 insertions, 0 deletions
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