A few headers had some global static variables declared in their headers which is very bad. I also moved a function containing a static because it's only referenced in the implementation file.
Checklist
[x] I have tested my changes locally and verified that they work as intended.
[x] I have documented any new or modified functionality.
[x] I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
[x] I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.
Pull Request Type
Description
A few headers had some global static variables declared in their headers which is very bad. I also moved a function containing a static because it's only referenced in the implementation file.
Checklist