]> git.droids-corp.org - dpdk.git/blobdiff - examples/helloworld/main.c
drivers/net: do not use ethdev driver
[dpdk.git] / examples / helloworld / main.c
index 0c0f8333bcd72a6802ae20cf12db8a370434cd3d..8b7a2de0eedf3c030ca5e40291268fdbd6b81e14 100644 (file)
 #include <rte_memory.h>
 #include <rte_memzone.h>
 #include <rte_launch.h>
-#include <rte_tailq.h>
 #include <rte_eal.h>
 #include <rte_per_lcore.h>
 #include <rte_lcore.h>
 #include <rte_debug.h>
 
-#include "main.h"
-
 static int
 lcore_hello(__attribute__((unused)) void *arg)
 {
@@ -58,7 +55,7 @@ lcore_hello(__attribute__((unused)) void *arg)
 }
 
 int
-MAIN(int argc, char **argv)
+main(int argc, char **argv)
 {
        int ret;
        unsigned lcore_id;