diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 22:04:03 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 22:04:03 +0800 |
commit | b2495c010148b8343f8f70f6ee558f505a2c7409 (patch) | |
tree | 5dc7e878c8fa91eda0700442398ccca9e4811ddd /src | |
parent | 787a5067fbe0eaf05ad2f41a64c3eac776905724 (diff) | |
download | openocd_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')
-rw-r--r-- | src/openocd.c | 2 |
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); } |