Skip to content

make Curl_addr2string static#21946

Closed
icing wants to merge 3 commits into
curl:masterfrom
icing:mv-Curl_addr2string
Closed

make Curl_addr2string static#21946
icing wants to merge 3 commits into
curl:masterfrom
icing:mv-Curl_addr2string

Conversation

@icing

@icing icing commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Move as sockaddr2string() into cf-socket.c where its only callers are.

Mark as UNITTEST for unit1609.

Move "struct Curl_sockaddr_ex" into sockaddr.h, so connect.h and cf-socket.h can be included without all the system headers needed.

@github-actions github-actions Bot added the tests label Jun 10, 2026
icing added 3 commits June 10, 2026 14:41
Move as sockaddr2string() into cf-socket.c where its only callers are.

Mark as UNITTEST for unit1609.

Move "struct Curl_sockaddr_ex" into sockaddr.h, so connect.h and
cf-socket.h can be included without all the system headers needed.
@icing icing force-pushed the mv-Curl_addr2string branch from e146ff6 to f404178 Compare June 10, 2026 12:45
@bagder bagder closed this in 30c9c79 Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants