diff options
| author | Martin Schwenke <martin@meltin.net> | 2014-09-19 15:01:51 +1000 |
|---|---|---|
| committer | Volker Lendecke <vl@samba.org> | 2014-09-19 18:11:11 +0200 |
| commit | 1bf36f177b09980badeddf2ece64b1f29cda7416 (patch) | |
| tree | 37112300ce11f1f25890f41a06a08c4dc0989d22 /lib/util/wscript_build | |
| parent | e0a5c43bd0ca097936604169177d5eb44a6e42a8 (diff) | |
| download | samba-1bf36f177b09980badeddf2ece64b1f29cda7416.tar.gz samba-1bf36f177b09980badeddf2ece64b1f29cda7416.tar.xz samba-1bf36f177b09980badeddf2ece64b1f29cda7416.zip | |
lib/util: Move idr_get_new_random() to new source file idtree_random.c
This function depends on genrand.c, which depends on lib/crypto. This
way the other IDR tree code can be used without lib/crypto.
While doing this, create idtree.h and idtree_random.h and clean up the
includes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'lib/util/wscript_build')
| -rwxr-xr-x | lib/util/wscript_build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build index c14851455a..d7e5b03e62 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -34,15 +34,15 @@ bld.SAMBA_LIBRARY('socket-blocking', bld.SAMBA_LIBRARY('samba-util', source='''talloc_stack.c smb_threads.c xfile.c data_blob.c util_file.c time.c rbtree.c rfc1738.c select.c getpass.c - genrand.c fsusage.c become_daemon.c - signal.c system.c params.c util.c util_id.c util_net.c - util_strlist.c util_paths.c idtree.c fault.c base64.c + genrand.c fsusage.c become_daemon.c signal.c system.c + params.c util.c util_id.c util_net.c util_strlist.c + util_paths.c idtree.c idtree_random.c fault.c base64.c util_str.c util_str_common.c substitute.c ms_fnmatch.c server_id.c dprintf.c parmlist.c bitmap.c pidfile.c tevent_debug.c util_process.c memcache.c''', deps='DYNCONFIG time-basic close-low-fd samba-debug tini tiniparser socket-blocking', public_deps='talloc tevent execinfo pthread LIBCRYPTO charset util_setid systemd-daemon', - public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h', + public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h idtree.h idtree_random.h', header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ], local_include=False, vnum='0.0.1', |
