X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhello.c;h=275150a4ba0bd1fa243edde3ec50d0810ecbf8d8;hb=afe0298399bd06700926822e6d49c5bc44151956;hp=8a4f701d9bcd61ca444dea3ab71b099df9f630a4;hpb=89870c86e7aafd81a5720fcfd30002d24d26b232;p=openocd.git diff --git a/src/hello.c b/src/hello.c index 8a4f701d9b..275150a4ba 100644 --- a/src/hello.c +++ b/src/hello.c @@ -48,9 +48,9 @@ COMMAND_HANDLER(handle_hello_command) return retval; } -int hello_register_commands(struct command_context_s *cmd_ctx) +int hello_register_commands(struct command_context *cmd_ctx) { - struct command_s *cmd = register_command(cmd_ctx, NULL, "hello", + struct command *cmd = register_command(cmd_ctx, NULL, "hello", &handle_hello_command, COMMAND_ANY, "option"); return cmd ? ERROR_OK : -ENOMEM;