summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 22:04:03 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 22:04:03 +0800
commitb2495c010148b8343f8f70f6ee558f505a2c7409 (patch)
tree5dc7e878c8fa91eda0700442398ccca9e4811ddd /src/openocd.c
parent787a5067fbe0eaf05ad2f41a64c3eac776905724 (diff)
downloadopenocd+libswd-b2495c010148b8343f8f70f6ee558f505a2c7409.tar.gz
openocd+libswd-b2495c010148b8343f8f70f6ee558f505a2c7409.tar.bz2
openocd+libswd-b2495c010148b8343f8f70f6ee558f505a2c7409.tar.xz
openocd+libswd-b2495c010148b8343f8f70f6ee558f505a2c7409.zip
OPENOCD: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c2
1 files changed, 1 insertions, 1 deletions
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);
}