use COMMAND_HANDLER macro to define all commands
[fw/openocd] / src / jtag / gw16012.c
index 35473ab80de3766de3b325859b241bcd33f18b47..07188f4e5cbd6ab26c91aa0c323e0d83f5775550 100644 (file)
@@ -541,7 +541,7 @@ static int gw16012_quit(void)
        return ERROR_OK;
 }
 
-static int gw16012_handle_parport_port_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc)
+COMMAND_HANDLER(gw16012_handle_parport_port_command)
 {
        if (argc == 1)
        {