Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[nfc] move static code into anonymous namespaces #673

Merged
merged 1 commit into from
May 19, 2023
Merged

Conversation

fhanau
Copy link
Collaborator

@fhanau fhanau commented May 19, 2023

This looks cleaner and occasionally results in better inlining decisions. It should also help us enable -Wmissing-prototypes on code owned by us in the future to ensure that the compiler knows which functions are only used locally and that source files always include the headers where their function prototypes are defined.

@fhanau fhanau requested review from vickykont and Warfields May 19, 2023 17:08
@fhanau fhanau merged commit 7c1806b into main May 19, 2023
@fhanau fhanau deleted the felix/anon-namespace branch May 25, 2023 16:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants