summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-08-03 15:36:06 +1000
committerStefan Metzmacher <metze@samba.org>2015-08-17 21:14:21 +0200
commitec7f97cb4145d24d2fbc09fa6aff63c5cac6eed4 (patch)
treef4dd43236419d2236f798af7e3d39c96bf0356e9
parentd0c48632d2268ac2978f3ceca0e5215e06d17d25 (diff)
downloadsamba-ec7f97cb4145d24d2fbc09fa6aff63c5cac6eed4.tar.gz
ctdb-pmda: Add missing prototype declaration for non-static function
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11434 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> (cherry picked from commit 6538ba5243a043bc727039a16a7a9d5d8027fa06) Autobuild-User(v4-3-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-3-test): Mon Aug 17 21:14:21 CEST 2015 on sn-devel-104
-rw-r--r--ctdb/utils/pmda/pmda_ctdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/utils/pmda/pmda_ctdb.c b/ctdb/utils/pmda/pmda_ctdb.c
index 2beac8f8fe2..114584423ae 100644
--- a/ctdb/utils/pmda/pmda_ctdb.c
+++ b/ctdb/utils/pmda/pmda_ctdb.c
@@ -23,7 +23,6 @@
#include <pcp/impl.h>
#include <pcp/pmda.h>
#include "includes.h"
-#include "ctdb.h"
#include "ctdb_private.h"
#include "ctdb_protocol.h"
#include "domain.h"
@@ -536,6 +535,8 @@ err_out:
return ret;
}
+void pmda_ctdb_init(pmdaInterface *dp);
+
/*
* Initialise the agent
*/