diff options
author | Volker Lendecke <vl@samba.org> | 2023-01-05 10:04:23 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2023-01-10 00:28:37 +0000 |
commit | b73ecb28a7ac5996e1a8c455d15f41f59d9d8765 (patch) | |
tree | 207585816791e268c74216ddb37ad02666fb67b8 /lib/util | |
parent | 743df9009b4b9aa9d6f85a999fa9e5237f96f2b7 (diff) | |
download | samba-b73ecb28a7ac5996e1a8c455d15f41f59d9d8765.tar.gz |
lib: Remove idtree from samba_util.h
No need to recompile the world when only a few files need this.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/samba_util.h | 3 | ||||
-rw-r--r-- | lib/util/tests/idtree.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h index d8c8522616d..4eecfb8a583 100644 --- a/lib/util/samba_util.h +++ b/lib/util/samba_util.h @@ -589,9 +589,6 @@ int ms_fnmatch_protocol(const char *pattern, const char *string, int protocol, /** a generic fnmatch function - uses for non-CIFS pattern matching */ int gen_fnmatch(const char *pattern, const char *string); -#include "idtree.h" -#include "idtree_random.h" - #include "become_daemon.h" /** diff --git a/lib/util/tests/idtree.c b/lib/util/tests/idtree.c index f4f7b1130e2..d54ab2773ff 100644 --- a/lib/util/tests/idtree.c +++ b/lib/util/tests/idtree.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "torture/local/proto.h" +#include "lib/util/idtree.h" static bool torture_local_idtree_simple(struct torture_context *tctx) { |