summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/time_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/time_cmd.c')
-rw-r--r--src/hci/commands/time_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hci/commands/time_cmd.c b/src/hci/commands/time_cmd.c
index 08148bf38..2199321c7 100644
--- a/src/hci/commands/time_cmd.c
+++ b/src/hci/commands/time_cmd.c
@@ -21,6 +21,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER );
+FILE_SECBOOT ( PERMITTED );
#include <stdio.h>
#include <stdlib.h>
@@ -77,7 +78,4 @@ static int time_exec ( int argc, char **argv ) {
}
/** "time" command */
-struct command time_command __command = {
- .name = "time",
- .exec = time_exec,
-};
+COMMAND ( time, time_exec );