]> git.sur5r.net Git - openocd/commitdiff
HELLO: review unused symbols
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 09:23:06 +0000 (17:23 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 09:23:06 +0000 (17:23 +0800)
Remove unused functions:
- hello_register_commands

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

index 8cd5fabb47c4a50f1161503befd9c2baed0a54d1..d3fce3dc58821b23a2046b3b9dcf51305244b4c4 100644 (file)
@@ -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);
-}
index fc674ad6ef469f9550fcba6436381924ce249afa..f41c67a3cab2db34635122917066e7585e6e1094 100644 (file)
 #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.