summaryrefslogtreecommitdiff
path: root/source3/modules/perfcount_test.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-08-13 18:16:20 +0200
committerRalph Böhme <slow@samba.org>2015-08-20 16:06:21 +0200
commit7b2ff4cbd31fec2cc601e349ebb63f66df004bed (patch)
treedaa3740a9d429faec2b9e6ec241b4272d785c169 /source3/modules/perfcount_test.c
parent37b2677648108e35a159dcf680cc7ffb581e9643 (diff)
downloadsamba-7b2ff4cbd31fec2cc601e349ebb63f66df004bed.tar.gz
s3:modules/perfcount_*: make function prototypes available via static_decl_perfcount;
This allows the static build of the modules. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules/perfcount_test.c')
-rw-r--r--source3/modules/perfcount_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/perfcount_test.c b/source3/modules/perfcount_test.c
index 0dc073cec7e..ccc74dde62e 100644
--- a/source3/modules/perfcount_test.c
+++ b/source3/modules/perfcount_test.c
@@ -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,