mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-08 06:35:12 +00:00
arp: Remove the unnecessary inclusion of nuttx/net/arp
and change the remain inclusion to netinet/arp.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
9884159346
commit
cfc005a460
14 changed files with 7 additions and 28 deletions
|
|
@ -33,12 +33,10 @@
|
|||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include "netutils/netlib.h"
|
||||
|
||||
#if defined(CONFIG_EXAMPLES_BRIDGE_NET1_DHCPC) || \
|
||||
defined(CONFIG_EXAMPLES_BRIDGE_NET2_DHCPC)
|
||||
# include <arpa/inet.h>
|
||||
# include "netutils/dhcpc.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <nuttx/net/arp.h>
|
||||
|
||||
#include "netutils/netlib.h"
|
||||
#include "netutils/discover.h"
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@
|
|||
#include <net/if.h>
|
||||
#include <net/route.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <netinet/arp.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include <nuttx/net/neighbor.h>
|
||||
|
||||
#include "netutils/netlib.h"
|
||||
|
|
|
|||
|
|
@ -40,13 +40,8 @@
|
|||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include "netutils/netlib.h"
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_TCPECHO_DHCPC
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
/* Here we include the header file for the application(s) we use in
|
||||
* our project as defined in the config/<board-name>/defconfig file
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include <netinet/in.h>
|
||||
#include <netinet/ether.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include "netutils/netlib.h"
|
||||
#include "netutils/thttpd.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@
|
|||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include "netutils/netlib.h"
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_WEBSERVER_DHCPC
|
||||
|
|
|
|||
|
|
@ -65,14 +65,9 @@
|
|||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <nuttx/net/arp.h>
|
||||
#include "netutils/netlib.h"
|
||||
#include "netutils/xmlrpc.h"
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_XMLRPC_DHCPC
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
/* Here we include the header file for the application(s) we use in
|
||||
* our project as defined in the config/<board-name>/defconfig file
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue