← Commit list

3887069c66

Viktor Szakats
Viktor Szakats
2025-11-25
SUCCESS Duration: 150s

Subject

lib: rename internal header `share.h` to `curl_share.h` to avoid collision

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/Makefile.inc+2 -2
@@ -172,6 +172,7 @@ LIB_CFILES = \
curl_rtmp.c \
curl_sasl.c \
curl_sha512_256.c \
+ curl_share.c \
curl_sspi.c \
curl_threads.c \
curl_trc.c \
@@ -242,7 +243,6 @@ LIB_CFILES = \
sendf.c \
setopt.c \
sha256.c \
- share.c \
slist.c \
smb.c \
smtp.c \
@@ -311,6 +311,7 @@ LIB_HFILES = \
curl_setup_once.h \
curl_sha256.h \
curl_sha512_256.h \
+ curl_share.h \
curl_sspi.h \
curl_threads.h \
curl_trc.h \
@@ -376,7 +377,6 @@ LIB_HFILES = \
setup-os400.h \
setup-vms.h \
setup-win32.h \
- share.h \
sigpipe.h \
slist.h \
smb.h \
lib/asyn-ares.c+1 -1
@@ -52,7 +52,7 @@
#include "sendf.h"
#include "hostip.h"
#include "hash.h"
-#include "share.h"
+#include "curl_share.h"
#include "url.h"
#include "multiif.h"
#include "curlx/inet_pton.h"
lib/asyn-base.c+1 -1
@@ -51,7 +51,7 @@
#include "hash.h"
#include "multiif.h"
#include "select.h"
-#include "share.h"
+#include "curl_share.h"
#include "url.h"
#include "curl_memory.h"
/* The last #include file should be: */
lib/asyn-thrdd.c+1 -1
@@ -59,7 +59,7 @@
#include "sendf.h"
#include "hostip.h"
#include "hash.h"
-#include "share.h"
+#include "curl_share.h"
#include "url.h"
#include "multiif.h"
#include "curl_threads.h"
lib/cf-socket.c+1 -1
@@ -75,7 +75,7 @@
#include "conncache.h"
#include "multihandle.h"
#include "rand.h"
-#include "share.h"
+#include "curl_share.h"
#include "strdup.h"
#include "system_win32.h"
#include "curlx/version_win32.h"
lib/conncache.c+1 -1
@@ -38,7 +38,7 @@
#include "conncache.h"
#include "http_negotiate.h"
#include "http_ntlm.h"
-#include "share.h"
+#include "curl_share.h"
#include "sigpipe.h"
#include "connect.h"
#include "select.h"
lib/connect.c+1 -1
@@ -72,7 +72,7 @@
#include "curlx/warnless.h"
#include "conncache.h"
#include "multihandle.h"
-#include "share.h"
+#include "curl_share.h"
#include "http_proxy.h"
#include "socks.h"
lib/cookie.c+1 -1
@@ -31,7 +31,7 @@
#include "psl.h"
#include "sendf.h"
#include "slist.h"
-#include "share.h"
+#include "curl_share.h"
#include "strcase.h"
#include "curl_fopen.h"
#include "curl_get_line.h"
lib/share.c → lib/curl_share.c+1 -1
@@ -27,7 +27,7 @@
#include <curl/curl.h>
#include "urldata.h"
#include "connect.h"
-#include "share.h"
+#include "curl_share.h"
#include "psl.h"
#include "vtls/vtls.h"
#include "vtls/vtls_scache.h"
?+0 -0
lib/doh.c+1 -1
@@ -33,7 +33,7 @@
#include "sendf.h"
#include "multiif.h"
#include "url.h"
-#include "share.h"
+#include "curl_share.h"
#include "curlx/base64.h"
#include "connect.h"
#include "strdup.h"
lib/easy.c+1 -1
@@ -53,7 +53,7 @@
#include "url.h"
#include "getinfo.h"
#include "hostip.h"
-#include "share.h"
+#include "curl_share.h"
#include "strdup.h"
#include "progress.h"
#include "easyif.h"
lib/hostip.c+1 -1
@@ -50,7 +50,7 @@
#include "hostip.h"
#include "hash.h"
#include "rand.h"
-#include "share.h"
+#include "curl_share.h"
#include "url.h"
#include "curlx/inet_ntop.h"
#include "curlx/inet_pton.h"
lib/hostip4.c+1 -1
@@ -47,7 +47,7 @@
#include "sendf.h"
#include "hostip.h"
#include "hash.h"
-#include "share.h"
+#include "curl_share.h"
#include "url.h"
/* The last 2 #include files should be in this order */
lib/hostip6.c+1 -1
@@ -48,7 +48,7 @@
#include "sendf.h"
#include "hostip.h"
#include "hash.h"
-#include "share.h"
+#include "curl_share.h"
#include "url.h"
#include "curlx/inet_pton.h"
#include "connect.h"
lib/hsts.c+1 -1
@@ -37,7 +37,7 @@
#include "sendf.h"
#include "parsedate.h"
#include "rename.h"
-#include "share.h"
+#include "curl_share.h"
#include "strdup.h"
#include "curlx/strparse.h"
lib/http.c+1 -1
@@ -65,7 +65,7 @@
#include "http_aws_sigv4.h"
#include "url.h"
#include "urlapi-int.h"
-#include "share.h"
+#include "curl_share.h"
#include "hostip.h"
#include "dynhds.h"
#include "http.h"
lib/multi.c+1 -1
@@ -33,7 +33,7 @@
#include "connect.h"
#include "progress.h"
#include "easyif.h"
-#include "share.h"
+#include "curl_share.h"
#include "psl.h"
#include "multiif.h"
#include "multi_ev.h"
lib/psl.c+1 -1
@@ -29,7 +29,7 @@
#ifdef USE_LIBPSL
#include "psl.h"
-#include "share.h"
+#include "curl_share.h"
/* The last 2 #include files should be in this order */
#include "curl_memory.h"
lib/setopt.c+1 -1
@@ -41,7 +41,7 @@
#include "progress.h"
#include "content_encoding.h"
#include "strcase.h"
-#include "share.h"
+#include "curl_share.h"
#include "vtls/vtls.h"
#include "curlx/warnless.h"
#include "sendf.h"
lib/url.c+1 -1
@@ -81,7 +81,7 @@
#include "cookie.h"
#include "strcase.h"
#include "escape.h"
-#include "share.h"
+#include "curl_share.h"
#include "content_encoding.h"
#include "http_digest.h"
#include "http_negotiate.h"
lib/vtls/vtls.c+1 -1
@@ -63,7 +63,7 @@
#include "../strcase.h"
#include "../url.h"
#include "../progress.h"
-#include "../share.h"
+#include "../curl_share.h"
#include "../multiif.h"
#include "../curlx/fopen.h"
#include "../curlx/timeval.h"
lib/vtls/vtls_scache.c+1 -1
@@ -41,7 +41,7 @@
#include "../strcase.h"
#include "../url.h"
#include "../llist.h"
-#include "../share.h"
+#include "../curl_share.h"
#include "../curl_trc.h"
#include "../curl_sha256.h"
#include "../rand.h"
tests/unit/unit1607.c+1 -1
@@ -25,7 +25,7 @@
#include "urldata.h"
#include "connect.h"
-#include "share.h"
+#include "curl_share.h"
#include "memdebug.h" /* LAST include file */
tests/unit/unit1609.c+1 -1
@@ -25,7 +25,7 @@
#include "urldata.h"
#include "connect.h"
-#include "share.h"
+#include "curl_share.h"
#include "memdebug.h" /* LAST include file */