Demoted Swizzle() from a global function to static

The `Swizzle()` function was defined in the global scope, although its prototype wasn’t declared anywhere.
Because its existence is a purely private concern to this category, it has been marked as `static`, to no longer pollute the global namespace.
To avoid a warning when compiling with `-Wpedantic`, it has additionally been marked as `inline`.