summaryrefslogtreecommitdiffstats
path: root/app/test/test_tailq.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_tailq.c')
-rw-r--r--app/test/test_tailq.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_tailq.c b/app/test/test_tailq.c
index c046a8ac..33a3e8a9 100644
--- a/app/test/test_tailq.c
+++ b/app/test/test_tailq.c
@@ -154,8 +154,4 @@ test_tailq(void)
return ret;
}
-static struct test_command tailq_cmd = {
- .command = "tailq_autotest",
- .callback = test_tailq,
-};
-REGISTER_TEST_COMMAND(tailq_cmd);
+REGISTER_TEST_COMMAND(tailq_autotest, test_tailq);