X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fpresto.c;h=b4ba3f44aa4e251af640dc341b14fa75e1a69162;hp=154e3e1758df1048df362e5ce96fb2a60bc1874b;hb=98723c4ecdbe06f90c66f3abec27b792c3b38e34;hpb=d16968e24f5d9e436ae4e136cd27652c4c948203 diff --git a/src/jtag/presto.c b/src/jtag/presto.c index 154e3e1758..b4ba3f44aa 100644 --- a/src/jtag/presto.c +++ b/src/jtag/presto.c @@ -42,7 +42,7 @@ static int presto_jtag_speed(int speed); static int presto_jtag_khz(int khz, int *jtag_speed); static int presto_jtag_speed_div(int speed, int *khz); -static int presto_jtag_register_commands(struct command_context_s *cmd_ctx); +static int presto_jtag_register_commands(struct command_context *cmd_ctx); static int presto_jtag_init(void); static int presto_jtag_quit(void); @@ -766,7 +766,7 @@ COMMAND_HANDLER(presto_handle_serial_command) return ERROR_OK; } -static int presto_jtag_register_commands(struct command_context_s *cmd_ctx) +static int presto_jtag_register_commands(struct command_context *cmd_ctx) { register_command(cmd_ctx, NULL, "presto_serial", presto_handle_serial_command, COMMAND_CONFIG, NULL);