tile: fix build
[dpdk.git] / app / test / test_version.c
index ac6ffa0..afc0d0b 100644 (file)
@@ -41,7 +41,7 @@
 #include "test.h"
 
 
-int
+static int
 test_version(void)
 {
        const char *version = rte_version();
@@ -53,3 +53,5 @@ test_version(void)
                return -1;
        return 0;
 }
+
+REGISTER_TEST_COMMAND(version_autotest, test_version);