summaryrefslogtreecommitdiff
path: root/ctdb/utils
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-08-03 15:36:06 +1000
committerAmitay Isaacs <amitay@samba.org>2015-08-07 05:33:29 +0200
commit6538ba5243a043bc727039a16a7a9d5d8027fa06 (patch)
tree0be4e6fe52e6efeb80230365eb3db7d337678ed1 /ctdb/utils
parent7949ce103f2062aa703a24f72e11be96dc497a7a (diff)
downloadsamba-6538ba5243a043bc727039a16a7a9d5d8027fa06.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>
Diffstat (limited to 'ctdb/utils')
-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
*/