From b7b18462757aa30b630b687c071067bedfb4194c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 26 Apr 2023 23:27:04 +0200 Subject: [PATCH] urlapi: make internal function start with Curl_ Curl_url_set_authority() it is. Follow-up to acd82c8bfd Closes #11035 --- lib/http2.c | 2 +- lib/urlapi-int.h | 2 +- lib/urlapi.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/http2.c b/lib/http2.c index 4ce618a5b..cdabb6f6c 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -769,7 +769,7 @@ static int set_transfer_url(struct Curl_easy *data, v = curl_pushheader_byname(hp, HTTP_PSEUDO_AUTHORITY); if(v) { - uc = curl_url_set_authority(u, v, CURLU_DISALLOW_USER); + uc = Curl_url_set_authority(u, v, CURLU_DISALLOW_USER); if(uc) { rc = 2; goto fail; diff --git a/lib/urlapi-int.h b/lib/urlapi-int.h index ff9f79907..d6e240aa3 100644 --- a/lib/urlapi-int.h +++ b/lib/urlapi-int.h @@ -28,7 +28,7 @@ size_t Curl_is_absolute_url(const char *url, char *buf, size_t buflen, bool guess_scheme); -CURLUcode curl_url_set_authority(CURLU *u, const char *authority, +CURLUcode Curl_url_set_authority(CURLU *u, const char *authority, unsigned int flags); #ifdef DEBUGBUILD diff --git a/lib/urlapi.c b/lib/urlapi.c index bdbe6c8a7..192fb165b 100644 --- a/lib/urlapi.c +++ b/lib/urlapi.c @@ -817,7 +817,7 @@ out: return result; } -CURLUcode curl_url_set_authority(CURLU *u, const char *authority, +CURLUcode Curl_url_set_authority(CURLU *u, const char *authority, unsigned int flags) { CURLUcode result;