]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/util: Move talloc_keep_secret.c from samba-util to samba-util-core
authorPavel Filipenský <pfilipensky@samba.org>
Wed, 3 Dec 2025 18:31:08 +0000 (19:31 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 8 Dec 2025 17:18:29 +0000 (17:18 +0000)
Needed by future data_blob.h changes. ctdb uses data_blob and links only
samba-util-core.

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/util/wscript_build

index 9dff0e8925db711addd9f52f1155395d82ef06ab..21a94f60cac22ee3ee5fa79686c7286aa3d28149 100644 (file)
@@ -92,6 +92,7 @@ bld.SAMBA_SUBSYSTEM('smb-panic',
 bld.SAMBA_SUBSYSTEM('samba-util-core',
                     source='''
                     data_blob.c
+                    talloc_keep_secret.c
                     util_file.c
                     sys_popen.c
                     time.c
@@ -198,7 +199,6 @@ else:
                          server_id.c
                          smb_threads.c
                          system.c
-                         talloc_keep_secret.c
                          talloc_stack.c
                          tevent_debug.c
                          tfork.c
@@ -235,6 +235,7 @@ else:
                                  fault.h
                                  genrand.h
                                  tfork.h
+                                 talloc_keep_secret.h
                                  ''',
                   header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
                   local_include=False,