shared: move src/import/curl-util.h to src/shared/

Move more common definitions in the header file instead of repeating
them in bunch of places. src/import/curl-util.[ch] is renamed so that
it's shared more naturally with other components.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-04-15 21:27:39 +02:00
parent 0ba59c3d32
commit cdc8aadaed
7 changed files with 21 additions and 23 deletions
+3
View File
@@ -256,6 +256,9 @@ if get_option('tests') != 'false'
shared_sources += files('tests.c')
endif
# A small shared file that is is linked into a few places
curl_util_c = files('curl-util.c')
syscall_list_inc = custom_target(
input : syscall_list_txt,
output : 'syscall-list.inc',