s3:modules/perfcount_*: make function prototypes available via static_decl_perfcount;
authorStefan Metzmacher <metze@samba.org>
Thu, 13 Aug 2015 16:16:20 +0000 (18:16 +0200)
committerRalph Böhme <slow@samba.org>
Thu, 20 Aug 2015 14:06:21 +0000 (16:06 +0200)
This allows the static build of the modules.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/perfcount_test.c

index 0dc073cec7e281695b35b988735365c9befc33a8..ccc74dde62e24aeefddc0ce59530ebb7eecec3a3 100644 (file)
@@ -385,6 +385,7 @@ static struct smb_perfcount_handlers perfcount_test_handlers = {
        perfcount_test_end
 };
 
+static_decl_perfcount;
 NTSTATUS perfcount_test_init(void)
 {
        return smb_register_perfcounter(SMB_PERFCOUNTER_INTERFACE_VERSION,