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