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