client: add missing static function declaration
client: Don't mix declaration and code