git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples: no more bare metal environment
[dpdk.git]
/
examples
/
timer
/
main.c
diff --git
a/examples/timer/main.c
b/examples/timer/main.c
index
a5ff015
..
5a5d33c
100644
(file)
--- a/
examples/timer/main.c
+++ b/
examples/timer/main.c
@@
-49,8
+49,6
@@
#include <rte_timer.h>
#include <rte_debug.h>
#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;
#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
}
int
-
MAIN
(int argc, char **argv)
+
main
(int argc, char **argv)
{
int ret;
uint64_t hz;
{
int ret;
uint64_t hz;