[Pkg-owncloud-commits] [owncloud-client] 175/333: Add C++ extern "C"

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit f7866aabde57cdab15e437074571cb5fa582ac3b
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Mar 19 21:01:24 2014 +0100

    Add C++ extern "C"
---
 csync/src/csync_statedb.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/csync/src/csync_statedb.h b/csync/src/csync_statedb.h
index 47fa67d..ebf4f45 100644
--- a/csync/src/csync_statedb.h
+++ b/csync/src/csync_statedb.h
@@ -33,6 +33,10 @@
 #ifndef _CSYNC_STATEDB_H
 #define _CSYNC_STATEDB_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "c_lib.h"
 #include "csync_private.h"
 
@@ -115,6 +119,10 @@ typedef struct csync_progressinfo_s {
   char *error_string;
 } csync_progressinfo_t;
 
+#ifdef __cplusplus
+}
+#endif
+
 /**
  * }@
  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list