From: Antonio Borneo Date: Sat, 10 Apr 2010 09:23:06 +0000 (+0800) Subject: HELLO: review unused symbols X-Git-Tag: v0.5.0-rc1~775 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb;p=openocd HELLO: review unused symbols Remove unused functions: - hello_register_commands Signed-off-by: Antonio Borneo --- 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.