pmda: Add missing prototype declaration for non-static function
authorAmitay Isaacs <amitay@gmail.com>
Mon, 3 Aug 2015 05:36:06 +0000 (15:36 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 24 Feb 2016 10:44:28 +0000 (21:44 +1100)
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>
(Imported from commit 6538ba5243a043bc727039a16a7a9d5d8027fa06)

utils/pmda/pmda_ctdb.c

index a6863893e2178657c24d1b9c87faeaa6bda3b6fa..7dbab1f91eb813df1ff344ceb7154faa8743271c 100644 (file)
@@ -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
  */