]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_tailq.c
mbuf: remove rte_ctrlmbuf
[dpdk.git] / app / test / test_tailq.c
index c9b53eee27233e10eaa0e0004efcc27d7775afe3..4d32c6f544bef4599f37322aaecf66a2d2d534e2 100644 (file)
@@ -153,7 +153,7 @@ test_tailq_deprecated(void)
        return 0;
 }
 
-int
+static int
 test_tailq(void)
 {
        int ret = 0;
@@ -162,3 +162,9 @@ test_tailq(void)
        ret |= test_tailq_deprecated();
        return ret;
 }
+
+static struct test_command tailq_cmd = {
+       .command = "tailq_autotest",
+       .callback = test_tailq,
+};
+REGISTER_TEST_COMMAND(tailq_cmd);