]> git.droids-corp.org - dpdk.git/blobdiff - examples/timer/main.c
examples: no more bare metal environment
[dpdk.git] / examples / timer / main.c
index a5ff0151211c97c8f26a06460b9f7b9b89632bfd..5a5d33c98e924b9e14d2c59c34610e4a964dc9a4 100644 (file)
@@ -49,8 +49,6 @@
 #include <rte_timer.h>
 #include <rte_debug.h>
 
-#include "main.h"
-
 #define TIMER_RESOLUTION_CYCLES 20000000ULL /* around 10ms at 2 Ghz */
 
 static struct rte_timer timer0;
@@ -115,7 +113,7 @@ lcore_mainloop(__attribute__((unused)) void *arg)
 }
 
 int
-MAIN(int argc, char **argv)
+main(int argc, char **argv)
 {
        int ret;
        uint64_t hz;