replaced prototyped pseudo-private functions with file-scoped functions ...

...in the module core

Signed-off-by: Ayudh Das <ayudh.d@gmail.com>