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
Globals removal #579
Globals removal #579
Conversation
|
Updated to avoid the keyword "extern" in the .cpp source files. They are moved into their header. |
| { | ||
| while (*ptr == ' ') | ||
| ptr++; | ||
| return ptr; | ||
| } | ||
|
|
||
| const char *skip_spaces(const char *ptr) | ||
| static const char *skip_spaces(const char *ptr) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
Please use a more descriptive PR title. |
|
Marked all globals only used in one file as static and removed their header parts. I think all changes are done which doesn't require to rewrite lots of code. |
|
Looks good to me |
|
Yes, please. |
Also change globals into statics which are only used in one file
|
rebased to fix merge conflicts. Do you need more reviews or is this ready to merge? |
|
@dolphin-emu-bot rebuild |
Mark unexported global variables and functions as statics.
This commit reverts a part of pull request dolphin-emu#579.
Fix warnings unearthed by #579
This commit reverts a part of pull request dolphin-emu#579.
This commit reverts a part of pull request dolphin-emu#579.
This commit reverts a part of pull request dolphin-emu#579.
This commit reverts a part of pull request dolphin-emu#579.
This commit reverts a part of pull request dolphin-emu#579.
This commit reverts a part of pull request dolphin-emu#579.
This commit reverts a part of pull request dolphin-emu#579.
Add both -Wmissing-declarations and -Wmissing-variable-declarations.
Fixes all declaration warnings, now there are lots of unused functions.