Merge pull request #6667 from lioncash/si SI: Remove unnecessary declarations of internally linked functions