X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhello.c;h=275150a4ba0bd1fa243edde3ec50d0810ecbf8d8;hb=ecab0cfe25600ad13c174b78a637515943cc870a;hp=267cc28e4eda264c8f1e33c489104930dcc2def8;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34;p=openocd.git diff --git a/src/hello.c b/src/hello.c index 267cc28e4e..275150a4ba 100644 --- a/src/hello.c +++ b/src/hello.c @@ -50,7 +50,7 @@ COMMAND_HANDLER(handle_hello_command) 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;