Core: Mark some module functions as static
Merge pull request #7137 from lioncash/static

Core: Mark some module functions as static