Statictize some functions.

Signed-off-by: Thiago Farina <tfarina@chromium.org>