From: Antonio Borneo Date: Sat, 10 Apr 2010 14:04:03 +0000 (+0800) Subject: OPENOCD: review scope of functions X-Git-Tag: v0.5.0-rc1~759 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2495c010148b8343f8f70f6ee558f505a2c7409;p=openocd OPENOCD: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo --- diff --git a/src/openocd.c b/src/openocd.c index 54c454d7..81c2dcdb 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -202,7 +202,7 @@ static const struct command_registration openocd_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -int openocd_register_commands(struct command_context *cmd_ctx) +static int openocd_register_commands(struct command_context *cmd_ctx) { return register_commands(cmd_ctx, NULL, openocd_command_handlers); }