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
drivers/net: do not use ethdev driver
[dpdk.git]
/
examples
/
helloworld
/
main.c
diff --git
a/examples/helloworld/main.c
b/examples/helloworld/main.c
index
0c0f833
..
8b7a2de
100644
(file)
--- a/
examples/helloworld/main.c
+++ b/
examples/helloworld/main.c
@@
-40,14
+40,11
@@
#include <rte_memory.h>
#include <rte_memzone.h>
#include <rte_launch.h>
#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 <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)
{
static int
lcore_hello(__attribute__((unused)) void *arg)
{
@@
-58,7
+55,7
@@
lcore_hello(__attribute__((unused)) void *arg)
}
int
}
int
-
MAIN
(int argc, char **argv)
+
main
(int argc, char **argv)
{
int ret;
unsigned lcore_id;
{
int ret;
unsigned lcore_id;