use COMMAND_HELPER for command helper functions

Define the numerous helpers that inherit command handler parameters
using the COMMAND_HELPER macro.
This commit is contained in:
Zachary T Welch
2009-11-10 03:12:21 -08:00
parent cfc4d5c6b7
commit 63a26b421b
6 changed files with 21 additions and 19 deletions

View File

@@ -462,9 +462,7 @@ COMMAND_HANDLER(parport_handle_write_on_exit_command)
return ERROR_OK;
}
static int
parport_handle_parport_toggling_time_command(struct command_context_s *cmd_ctx,
char *cmd, char **args, int argc)
COMMAND_HANDLER(parport_handle_parport_toggling_time_command)
{
if (argc == 1) {
uint32_t ns;