From f93a6e3310332120969603998800bccf9a7c2d5d Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Fri, 19 Aug 2016 13:09:58 +0200 Subject: [PATCH] Rename lwip/prot/arp.h to lwip/prot/etharp.h for consistence --- src/include/lwip/etharp.h | 2 +- src/include/lwip/prot/{arp.h => etharp.h} | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) rename src/include/lwip/prot/{arp.h => etharp.h} (96%) diff --git a/src/include/lwip/etharp.h b/src/include/lwip/etharp.h index 389cf9c4..04a56e65 100644 --- a/src/include/lwip/etharp.h +++ b/src/include/lwip/etharp.h @@ -58,7 +58,7 @@ extern "C" { #if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */ -#include "lwip/prot/arp.h" +#include "lwip/prot/etharp.h" #define SIZEOF_ETHARP_PACKET (SIZEOF_ETH_HDR + SIZEOF_ETHARP_HDR) #if ETHARP_SUPPORT_VLAN && defined(LWIP_HOOK_VLAN_SET) diff --git a/src/include/lwip/prot/arp.h b/src/include/lwip/prot/etharp.h similarity index 96% rename from src/include/lwip/prot/arp.h rename to src/include/lwip/prot/etharp.h index 382c6a92..ec78305b 100644 --- a/src/include/lwip/prot/arp.h +++ b/src/include/lwip/prot/etharp.h @@ -34,8 +34,8 @@ * Author: Adam Dunkels * */ -#ifndef LWIP_HDR_PROT_ARP_H -#define LWIP_HDR_PROT_ARP_H +#ifndef LWIP_HDR_PROT_ETHARP_H +#define LWIP_HDR_PROT_ETHARP_H #include "lwip/arch.h" #include "lwip/prot/ethernet.h" @@ -84,9 +84,8 @@ enum etharp_opcode { ARP_REPLY = 2 }; - #ifdef __cplusplus } #endif -#endif /* LWIP_HDR_PROT_ARP_H */ +#endif /* LWIP_HDR_PROT_ETHARP_H */