]> git.droids-corp.org - dpdk.git/commitdiff
clean bare metal support traces
authorDavid Marchand <david.marchand@redhat.com>
Mon, 12 Aug 2019 07:00:54 +0000 (09:00 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 21 Oct 2019 14:19:00 +0000 (16:19 +0200)
Bare metal support has been gone for quite some time but we still had
some checks on system includes.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
app/test-pmd/cmdline.c
app/test/commands.c
app/test/test_cmdline_ipaddr.c
examples/cmdline/commands.c
lib/librte_cmdline/cmdline_parse_ipaddr.c

index ded56bf36f9c264e56051b2147e7f3c29f4c9029..1bd977f91d873c544ce43a413195da94950a1249 100644 (file)
 #include <termios.h>
 #include <unistd.h>
 #include <inttypes.h>
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#else
+#ifdef __FreeBSD__
 #include <sys/socket.h>
 #endif
-#endif
 #include <netinet/in.h>
 
 #include <sys/queue.h>
index 8d5a03a9548add27b62a06fe2bd6cde358db0a3d..3bf767bf7f01633e622222c241279361ec09ac8d 100644 (file)
 #include <stdlib.h>
 #include <netinet/in.h>
 #include <termios.h>
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#endif
-#endif
 #include <inttypes.h>
 #include <errno.h>
 #include <sys/queue.h>
index 8ee7f628868306456b6bd1eb749a016b6a629d38..2d11ce936cfa5838872768eb0d843f70f94ab5e0 100644 (file)
@@ -6,14 +6,9 @@
 #include <string.h>
 #include <inttypes.h>
 #include <netinet/in.h>
-
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#else
+#ifdef __FreeBSD__
 #include <sys/socket.h>
 #endif
-#endif
 
 #include <rte_string_fns.h>
 
index e96739f3467718bcdbfa6915c7f3db47658fa125..1249ee7a8aa1f7297ecf6daab1e7441c491fd18e 100644 (file)
 #include <errno.h>
 #include <netinet/in.h>
 #include <termios.h>
-#ifndef __linux__
-       #ifdef __FreeBSD__
-               #include <sys/socket.h>
-       #else
-               #include <net/socket.h>
-       #endif
+#ifdef __FreeBSD__
+#include <sys/socket.h>
 #endif
 
 #include <cmdline_rdline.h>
index 6647f569fee049102c5a26c917e86d0a777f7de6..848c1eb07dc11e112eb620c28bd37780d5b57f35 100644 (file)
 #include <errno.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
-#ifndef __linux__
-#ifndef __FreeBSD__
-#include <net/socket.h>
-#else
+#ifdef __FreeBSD__
 #include <sys/socket.h>
 #endif
-#endif
 
 #include <rte_string_fns.h>