raw, core: declare function static

Declare functions as static. The function must not be public.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>