ensure the 'prot' headers are as small & portable as possible

This commit is contained in:
goldsimon 2016-08-11 15:11:34 +02:00
parent dc7340bbd5
commit 6f62fe5998
4 changed files with 0 additions and 20 deletions

View File

@ -40,10 +40,6 @@
#ifndef LWIP_HDR_PROT_AUTOIP_H
#define LWIP_HDR_PROT_AUTOIP_H
#include "lwip/opt.h"
#if LWIP_IPV4 && LWIP_AUTOIP /* don't build if not configured for use in lwipopts.h */
#ifdef __cplusplus
extern "C" {
#endif
@ -77,6 +73,4 @@ extern "C" {
}
#endif
#endif /* LWIP_IPV4 && LWIP_AUTOIP */
#endif /* LWIP_HDR_PROT_AUTOIP_H */

View File

@ -40,11 +40,6 @@
#include "lwip/opt.h"
#if LWIP_DHCP /* don't build if not configured for use in lwipopts.h */
#include "lwip/netif.h"
#include "lwip/udp.h"
#ifdef __cplusplus
extern "C" {
#endif
@ -187,6 +182,4 @@ PACK_STRUCT_END
}
#endif
#endif /* LWIP_DHCP */
#endif /*LWIP_HDR_PROT_DHCP_H*/

View File

@ -37,7 +37,6 @@
#ifndef LWIP_HDR_PROT_IP_H
#define LWIP_HDR_PROT_IP_H
#include "lwip/opt.h"
#include "lwip/arch.h"
#define IP_PROTO_ICMP 1

View File

@ -37,10 +37,6 @@
#ifndef LWIP_HDR_PROT_IP4_H
#define LWIP_HDR_PROT_IP4_H
#include "lwip/opt.h"
#if LWIP_IPV4
#include "lwip/arch.h"
#include "lwip/ip4_addr.h"
@ -112,8 +108,6 @@ PACK_STRUCT_END
}
#endif
#endif /* LWIP_IPV4 */
#endif /* LWIP_HDR_PROT_IP4_H */