Keep function entrypoints in the same header as their type

This way we can include only needed header from SDL and have
all the entry points we're interested in.