diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 17:23:06 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 17:23:06 +0800 |
commit | b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb (patch) | |
tree | 32d4e3e76e332d4db430d263d92f3949a47f5da3 /src | |
parent | 46781080347af4f207cec108dfc2f96da61dcbfa (diff) | |
download | openocd+libswd-b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb.tar.gz openocd+libswd-b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb.tar.bz2 openocd+libswd-b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb.tar.xz openocd+libswd-b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb.zip |
HELLO: review unused symbols
Remove unused functions:
- hello_register_commands
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/hello.c | 5 | ||||
-rw-r--r-- | src/hello.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/hello.c b/src/hello.c index 8cd5fabb..d3fce3dc 100644 --- a/src/hello.c +++ b/src/hello.c @@ -121,8 +121,3 @@ const struct command_registration hello_command_handlers[] = { }, COMMAND_REGISTRATION_DONE }; - -int hello_register_commands(struct command_context *cmd_ctx) -{ - return register_commands(cmd_ctx, NULL, hello_command_handlers); -} diff --git a/src/hello.h b/src/hello.h index fc674ad6..f41c67a3 100644 --- a/src/hello.h +++ b/src/hello.h @@ -20,12 +20,8 @@ #ifndef OPENOCD_HELLO_H #define OPENOCD_HELLO_H -struct command_context; struct command_registration; -/// Register the hello commands in the specified command_context -int hello_register_commands(struct command_context *cmd_ctx); - /** * Export the registration for the hello command group, so it can be * embedded in example drivers. |