Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated wls_lib to remove driver non dpdk option
[o-du/phy.git]
/
wls_lib
/
testapp
/
testapp.c
diff --git
a/wls_lib/testapp/testapp.c
b/wls_lib/testapp/testapp.c
index
1bd9a84
..
e80307c
100644
(file)
--- a/
wls_lib/testapp/testapp.c
+++ b/
wls_lib/testapp/testapp.c
@@
-22,7
+22,10
@@
* supported by WLS interface)
*/
* supported by WLS interface)
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#define _GNU_SOURCE
+#endif
+
#include <stdio.h> // for printf
#include <string.h> // for memset
#include <signal.h> // for SIGINT
#include <stdio.h> // for printf
#include <string.h> // for memset
#include <signal.h> // for SIGINT
@@
-1418,14
+1421,12
@@
int main(int argc, char* argv[])
memset(&AppContext, 0, sizeof (AppContext));
memset(¶ms, 0, sizeof (params));
memset(&AppContext, 0, sizeof (AppContext));
memset(¶ms, 0, sizeof (params));
-#ifdef DPDK_WLS
int ret = rte_eal_init(argc, argv);
if (ret < 0)
rte_exit(EXIT_FAILURE, "Error with EAL initialization\n");
argc -= ret;
argv += ret;
int ret = rte_eal_init(argc, argv);
if (ret < 0)
rte_exit(EXIT_FAILURE, "Error with EAL initialization\n");
argc -= ret;
argv += ret;
-#endif
app_ParseArgs(argc, argv, ¶ms);
app_ApplyParams(¶ms);
app_ParseArgs(argc, argv, ¶ms);
app_ApplyParams(¶ms);