add static to functions that are not declared and only used in the curre...

...nt file