]> git.sur5r.net Git - openocd/commitdiff
OPENOCD: review scope of functions
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 14:04:03 +0000 (22:04 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 14:04:03 +0000 (22:04 +0800)
Add "static" qualifier to private functions.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/openocd.c

index 54c454d7486b6e21cae8f17157bdc90d909d081a..81c2dcdb389e2c03da79499ada17fe36c3e67a05 100644 (file)
@@ -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);
 }