git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37b2677
)
s3:modules/perfcount_*: make function prototypes available via static_decl_perfcount;
author
Stefan Metzmacher
<metze@samba.org>
Thu, 13 Aug 2015 16:16:20 +0000
(18:16 +0200)
committer
Ralph 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
patch
|
blob
|
history
diff --git
a/source3/modules/perfcount_test.c
b/source3/modules/perfcount_test.c
index 0dc073cec7e281695b35b988735365c9befc33a8..ccc74dde62e24aeefddc0ce59530ebb7eecec3a3 100644
(file)
--- 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,