Fixed a bug
Forgot to declare the function headers static.
This has been fixed