summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hello.c5
-rw-r--r--src/hello.h4
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.