[Pkg-owncloud-commits] [owncloud-client] 131/219: csync exclude: Export the csync_exclude_add function in debug mode

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:18 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 0cc2bbf5d9cc5841830ea000d8f00ccbe9aa4ad4
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Thu Sep 18 15:32:59 2014 +0200

    csync exclude: Export the csync_exclude_add function in debug mode
---
 csync/src/csync_exclude.c | 5 ++++-
 csync/src/csync_exclude.h | 5 +++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/csync/src/csync_exclude.c b/csync/src/csync_exclude.c
index 583aabe..0855b98 100644
--- a/csync/src/csync_exclude.c
+++ b/csync/src/csync_exclude.c
@@ -40,7 +40,10 @@
 #define CSYNC_LOG_CATEGORY_NAME "csync.exclude"
 #include "csync_log.h"
 
-static int _csync_exclude_add(c_strlist_t **inList, const char *string) {
+#ifndef NDEBUG
+static
+#endif
+int _csync_exclude_add(c_strlist_t **inList, const char *string) {
     c_strlist_t *list;
 
     if (*inList == NULL) {
diff --git a/csync/src/csync_exclude.h b/csync/src/csync_exclude.h
index 9e30d8a..84a65be 100644
--- a/csync/src/csync_exclude.h
+++ b/csync/src/csync_exclude.h
@@ -29,6 +29,11 @@ enum csync_exclude_type_e {
   CSYNC_FILE_EXCLUDE_INVALID_CHAR
 };
 typedef enum csync_exclude_type_e CSYNC_EXCLUDE_TYPE;
+
+#ifdef NDEBUG
+int _csync_exclude_add(c_strlist_t **inList, const char *string);
+#endif
+
 /**
  * @brief Load exclude list
  *

-- 
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