From 0360a48bd251034261ee96f1ae15e7cf9eea7498 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 3 Aug 2015 15:36:06 +1000 Subject: [PATCH] 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 Reviewed-by: Martin Schwenke (cherry picked from commit 6538ba5243a043bc727039a16a7a9d5d8027fa06) --- ctdb/utils/pmda/pmda_ctdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctdb/utils/pmda/pmda_ctdb.c b/ctdb/utils/pmda/pmda_ctdb.c index 2beac8f..1145844 100644 --- a/ctdb/utils/pmda/pmda_ctdb.c +++ b/ctdb/utils/pmda/pmda_ctdb.c @@ -23,7 +23,6 @@ #include #include #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 */ -- 2.4.3