Skip to content

Remove ares__ prefix, just use ares_#872

Merged
bradh352 merged 2 commits intoc-ares:mainfrom
bradh352:no_double_underscore
Sep 4, 2024
Merged

Remove ares__ prefix, just use ares_#872
bradh352 merged 2 commits intoc-ares:mainfrom
bradh352:no_double_underscore

Conversation

@bradh352
Copy link
Member

@bradh352 bradh352 commented Sep 3, 2024

At some point in time, internal non-public functions were prefixed with ares__ where as functions that may become public were prefixed with just ares_. This was never very consistent. Organizing the code better typically provides more benefit in this way, which we've made great progress on.

All non-static symbols must contain the ares_ prefix, and that should be more than sufficient in preventing any sort of issues.

Authored-By: Brad House (@bradh352)

@bradh352 bradh352 merged commit f09f0a0 into c-ares:main Sep 4, 2024
@bradh352 bradh352 deleted the no_double_underscore branch September 4, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant