ccanlint: fix usage of static funcs