Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

{Android/ButtonManager, ResourcePack/Manager}: Make file-scope variables/functions internally linked where applicable #8165

Merged
merged 3 commits into from
Jun 8, 2019

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Jun 8, 2019

Resolves -Wmissing-variable-declarations and -Wmissing-declarations warnings.

While we're at it, we can make some of the locals constexpr in Android's case.

…ked where applicable

Silences a few -Wmissing-variable-declarations warnings.
…ating

We can use std::array and const char* to make these capable of fully
being stored in the read-only segment, and get rid of a few static
constructors (144 of them).
Copy link
Contributor

@stenzek stenzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stenzek stenzek merged commit b13e00b into dolphin-emu:master Jun 8, 2019
@lioncash lioncash deleted the linkage branch June 8, 2019 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants