make: add new compiler warnings

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: add missing function declarations

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>