summaryrefslogtreecommitdiffstats
path: root/app/test/test_byteorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_byteorder.c')
-rw-r--r--app/test/test_byteorder.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_byteorder.c b/app/test/test_byteorder.c
index a088489b..8ae31142 100644
--- a/app/test/test_byteorder.c
+++ b/app/test/test_byteorder.c
@@ -92,8 +92,4 @@ test_byteorder(void)
return 0;
}
-static struct test_command byteorder_cmd = {
- .command = "byteorder_autotest",
- .callback = test_byteorder,
-};
-REGISTER_TEST_COMMAND(byteorder_cmd);
+REGISTER_TEST_COMMAND(byteorder_autotest, test_byteorder);