diff options
Diffstat (limited to 'src/hci/commands/console_cmd.c')
| -rw-r--r-- | src/hci/commands/console_cmd.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/hci/commands/console_cmd.c b/src/hci/commands/console_cmd.c index bd5647261..479e14efc 100644 --- a/src/hci/commands/console_cmd.c +++ b/src/hci/commands/console_cmd.c @@ -22,6 +22,7 @@ */ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); +FILE_SECBOOT ( PERMITTED ); /** @file * @@ -253,17 +254,6 @@ static int cpair_exec ( int argc, char **argv ) { } /** Console management commands */ -struct command console_commands[] __command = { - { - .name = "console", - .exec = console_exec, - }, - { - .name = "colour", - .exec = colour_exec, - }, - { - .name = "cpair", - .exec = cpair_exec, - }, -}; +COMMAND ( console, console_exec ); +COMMAND ( colour, colour_exec ); +COMMAND ( cpair, cpair_exec ); |
