Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards)

This commit is contained in:
Simon Goldschmidt 2014-05-19 21:46:18 +02:00
parent 695e001984
commit dbd125c714
63 changed files with 188 additions and 184 deletions

View File

@ -100,6 +100,10 @@ HISTORY
++ Bugfixes:
2014-05-19: Simon Goldschmidt
* *.h: Fixed bug #35874 reserved identifier violation (removed leading underscores
from header include guards)
2014-04-08: Simon Goldschmidt
* tcp.c: Fixed bug #36167 tcp server crash when client closes (maximum window)

View File

@ -41,8 +41,8 @@
* <kontakt@dspies.de>
*/
#ifndef __LWIP_AUTOIP_H__
#define __LWIP_AUTOIP_H__
#ifndef LWIP_HDR_AUTOIP_H__
#define LWIP_HDR_AUTOIP_H__
#include "lwip/opt.h"
@ -118,4 +118,4 @@ void autoip_network_changed(struct netif *netif);
#endif /* LWIP_AUTOIP */
#endif /* __LWIP_AUTOIP_H__ */
#endif /* LWIP_HDR_AUTOIP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_ICMP_H__
#define __LWIP_ICMP_H__
#ifndef LWIP_HDR_ICMP_H__
#define LWIP_HDR_ICMP_H__
#include "lwip/opt.h"
#include "lwip/pbuf.h"
@ -122,4 +122,4 @@ void icmp_time_exceeded(struct pbuf *p, enum icmp_te_type t);
}
#endif
#endif /* __LWIP_ICMP_H__ */
#endif /* LWIP_HDR_ICMP_H__ */

View File

@ -32,8 +32,8 @@
* source code.
*/
#ifndef __LWIP_IGMP_H__
#define __LWIP_IGMP_H__
#ifndef LWIP_HDR_IGMP_H__
#define LWIP_HDR_IGMP_H__
#include "lwip/opt.h"
#include "lwip/ip_addr.h"
@ -103,4 +103,4 @@ void igmp_tmr(void);
#endif /* LWIP_IGMP */
#endif /* __LWIP_IGMP_H__ */
#endif /* LWIP_HDR_IGMP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_INET_H__
#define __LWIP_INET_H__
#ifndef LWIP_HDR_INET_H__
#define LWIP_HDR_INET_H__
#include "lwip/opt.h"
#include "lwip/def.h"
@ -118,4 +118,4 @@ struct in_addr {
}
#endif
#endif /* __LWIP_INET_H__ */
#endif /* LWIP_HDR_INET_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_IP4_H__
#define __LWIP_IP4_H__
#ifndef LWIP_HDR_IP4_H__
#define LWIP_HDR_IP4_H__
#include "lwip/opt.h"
@ -145,6 +145,6 @@ void ip_debug_print(struct pbuf *p);
}
#endif
#endif /* __LWIP_IP_H__ */
#endif /* LWIP_HDR_IP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_IP4_ADDR_H__
#define __LWIP_IP4_ADDR_H__
#ifndef LWIP_HDR_IP4_ADDR_H__
#define LWIP_HDR_IP4_ADDR_H__
#include "lwip/opt.h"
#include "lwip/def.h"
@ -244,4 +244,4 @@ char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen);
}
#endif
#endif /* __LWIP_IP_ADDR_H__ */
#endif /* LWIP_HDR_IP_ADDR_H__ */

View File

@ -30,8 +30,8 @@
*
*/
#ifndef __LWIP_IP_FRAG_H__
#define __LWIP_IP_FRAG_H__
#ifndef LWIP_HDR_IP_FRAG_H__
#define LWIP_HDR_IP_FRAG_H__
#include "lwip/opt.h"
#include "lwip/err.h"
@ -70,15 +70,15 @@ struct pbuf * ip_reass(struct pbuf *p);
/** A custom pbuf that holds a reference to another pbuf, which is freed
* when this custom pbuf is freed. This is used to create a custom PBUF_REF
* that points into the original pbuf. */
#ifndef __LWIP_PBUF_CUSTOM_REF__
#define __LWIP_PBUF_CUSTOM_REF__
#ifndef LWIP_PBUF_CUSTOM_REF_DEFINED
#define LWIP_PBUF_CUSTOM_REF_DEFINED
struct pbuf_custom_ref {
/** 'base class' */
struct pbuf_custom pc;
/** pointer to the original pbuf that is referenced */
struct pbuf *original;
};
#endif /* __LWIP_PBUF_CUSTOM_REF__ */
#endif /* LWIP_PBUF_CUSTOM_REF_DEFINED */
#endif /* !IP_FRAG_USES_STATIC_BUF && !LWIP_NETIF_TX_SINGLE_PBUF */
err_t ip_frag(struct pbuf *p, struct netif *netif, ip_addr_t *dest);
@ -88,4 +88,4 @@ err_t ip_frag(struct pbuf *p, struct netif *netif, ip_addr_t *dest);
}
#endif
#endif /* __LWIP_IP_FRAG_H__ */
#endif /* LWIP_HDR_IP_FRAG_H__ */

View File

@ -40,8 +40,8 @@
* <delamer@inicotech.com>
*/
#ifndef __LWIP_IP6_DHCP6_H__
#define __LWIP_IP6_DHCP6_H__
#ifndef LWIP_HDR_IP6_DHCP6_H__
#define LWIP_HDR_IP6_DHCP6_H__
#include "lwip/opt.h"
@ -55,4 +55,4 @@ struct dhcp6
#endif /* LWIP_IPV6_DHCP6 */
#endif /* __LWIP_IP6_DHCP6_H__ */
#endif /* LWIP_HDR_IP6_DHCP6_H__ */

View File

@ -39,8 +39,8 @@
* <delamer@inicotech.com>
*/
#ifndef __LWIP_ETHIP6_H__
#define __LWIP_ETHIP6_H__
#ifndef LWIP_HDR_ETHIP6_H__
#define LWIP_HDR_ETHIP6_H__
#include "lwip/opt.h"
@ -65,4 +65,4 @@ err_t ethip6_output(struct netif *netif, struct pbuf *q, ip6_addr_t *ip6addr);
#endif /* LWIP_IPV6 && LWIP_ETHERNET */
#endif /* __LWIP_ETHIP6_H__ */
#endif /* LWIP_HDR_ETHIP6_H__ */

View File

@ -38,8 +38,8 @@
* Please coordinate changes and requests with Ivan Delamer
* <delamer@inicotech.com>
*/
#ifndef __LWIP_ICMP6_H__
#define __LWIP_ICMP6_H__
#ifndef LWIP_HDR_ICMP6_H__
#define LWIP_HDR_ICMP6_H__
#include "lwip/opt.h"
#include "lwip/pbuf.h"
@ -149,4 +149,4 @@ void icmp6_param_problem(struct pbuf *p, enum icmp6_pp_code c, u32_t pointer);
#endif
#endif /* __LWIP_ICMP6_H__ */
#endif /* LWIP_HDR_ICMP6_H__ */

View File

@ -38,8 +38,8 @@
* Please coordinate changes and requests with Ivan Delamer
* <delamer@inicotech.com>
*/
#ifndef __LWIP_INET6_H__
#define __LWIP_INET6_H__
#ifndef LWIP_HDR_INET6_H__
#define LWIP_HDR_INET6_H__
#include "lwip/opt.h"
@ -88,5 +88,5 @@ struct in6_addr {
#endif /* LWIP_IPV6 */
#endif /* __LWIP_INET6_H__ */
#endif /* LWIP_HDR_INET6_H__ */

View File

@ -38,8 +38,8 @@
* Please coordinate changes and requests with Ivan Delamer
* <delamer@inicotech.com>
*/
#ifndef __LWIP_IP6_H__
#define __LWIP_IP6_H__
#ifndef LWIP_HDR_IP6_H__
#define LWIP_HDR_IP6_H__
#include "lwip/opt.h"
@ -195,4 +195,4 @@ void ip6_debug_print(struct pbuf *p);
#endif /* LWIP_IPV6 */
#endif /* __LWIP_IP6_H__ */
#endif /* LWIP_HDR_IP6_H__ */

View File

@ -39,8 +39,8 @@
* Please coordinate changes and requests with Ivan Delamer
* <delamer@inicotech.com>
*/
#ifndef __LWIP_IP6_ADDR_H__
#define __LWIP_IP6_ADDR_H__
#ifndef LWIP_HDR_IP6_ADDR_H__
#define LWIP_HDR_IP6_ADDR_H__
#include "lwip/opt.h"
@ -286,4 +286,4 @@ char *ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen);
#endif /* LWIP_IPV6 */
#endif /* __LWIP_IP6_ADDR_H__ */
#endif /* LWIP_HDR_IP6_ADDR_H__ */

View File

@ -38,8 +38,8 @@
* Please coordinate changes and requests with Ivan Delamer
* <delamer@inicotech.com>
*/
#ifndef __LWIP_IP6_FRAG_H__
#define __LWIP_IP6_FRAG_H__
#ifndef LWIP_HDR_IP6_FRAG_H__
#define LWIP_HDR_IP6_FRAG_H__
#include "lwip/opt.h"
#include "lwip/pbuf.h"
@ -80,15 +80,15 @@ struct pbuf * ip6_reass(struct pbuf *p);
/** A custom pbuf that holds a reference to another pbuf, which is freed
* when this custom pbuf is freed. This is used to create a custom PBUF_REF
* that points into the original pbuf. */
#ifndef __LWIP_PBUF_CUSTOM_REF__
#define __LWIP_PBUF_CUSTOM_REF__
#ifndef LWIP_PBUF_CUSTOM_REF_DEFINED
#define LWIP_PBUF_CUSTOM_REF_DEFINED
struct pbuf_custom_ref {
/** 'base class' */
struct pbuf_custom pc;
/** pointer to the original pbuf that is referenced */
struct pbuf *original;
};
#endif /* __LWIP_PBUF_CUSTOM_REF__ */
#endif /* LWIP_PBUF_CUSTOM_REF_DEFINED */
err_t ip6_frag(struct pbuf *p, struct netif *netif, ip6_addr_t *dest);
@ -99,4 +99,4 @@ err_t ip6_frag(struct pbuf *p, struct netif *netif, ip6_addr_t *dest);
}
#endif
#endif /* __LWIP_IP6_FRAG_H__ */
#endif /* LWIP_HDR_IP6_FRAG_H__ */

View File

@ -40,8 +40,8 @@
* <delamer@inicotech.com>
*/
#ifndef __LWIP_MLD6_H__
#define __LWIP_MLD6_H__
#ifndef LWIP_HDR_MLD6_H__
#define LWIP_HDR_MLD6_H__
#include "lwip/opt.h"
@ -115,4 +115,4 @@ err_t mld6_leavegroup(ip6_addr_t *srcaddr, ip6_addr_t *groupaddr);
#endif /* LWIP_IPV6_MLD && LWIP_IPV6 */
#endif /* __LWIP_MLD6_H__ */
#endif /* LWIP_HDR_MLD6_H__ */

View File

@ -41,8 +41,8 @@
* <delamer@inicotech.com>
*/
#ifndef __LWIP_ND6_H__
#define __LWIP_ND6_H__
#ifndef LWIP_HDR_ND6_H__
#define LWIP_HDR_ND6_H__
#include "lwip/opt.h"
@ -359,4 +359,4 @@ void nd6_reachability_hint(ip6_addr_t * ip6addr);
#endif /* LWIP_IPV6 */
#endif /* __LWIP_ND6_H__ */
#endif /* LWIP_HDR_ND6_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_API_H__
#define __LWIP_API_H__
#ifndef LWIP_HDR_API_H__
#define LWIP_HDR_API_H__
#include "lwip/opt.h"
@ -335,4 +335,4 @@ err_t netconn_gethostbyname(const char *name, ip_addr_t *addr);
#endif /* LWIP_NETCONN */
#endif /* __LWIP_API_H__ */
#endif /* LWIP_HDR_API_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_API_MSG_H__
#define __LWIP_API_MSG_H__
#ifndef LWIP_HDR_API_MSG_H__
#define LWIP_HDR_API_MSG_H__
#include "lwip/opt.h"
@ -184,4 +184,4 @@ void netconn_free(struct netconn *conn);
#endif /* LWIP_NETCONN */
#endif /* __LWIP_API_MSG_H__ */
#endif /* LWIP_HDR_API_MSG_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_ARCH_H__
#define __LWIP_ARCH_H__
#ifndef LWIP_HDR_ARCH_H__
#define LWIP_HDR_ARCH_H__
#ifndef LITTLE_ENDIAN
#define LITTLE_ENDIAN 1234
@ -214,4 +214,4 @@ extern int errno;
}
#endif
#endif /* __LWIP_ARCH_H__ */
#endif /* LWIP_HDR_ARCH_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_DEBUG_H__
#define __LWIP_DEBUG_H__
#ifndef LWIP_HDR_DEBUG_H__
#define LWIP_HDR_DEBUG_H__
#include "lwip/arch.h"
#include "lwip/opt.h"
@ -95,5 +95,5 @@
#define LWIP_DEBUGF(debug, message)
#endif /* LWIP_DEBUG */
#endif /* __LWIP_DEBUG_H__ */
#endif /* LWIP_HDR_DEBUG_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_DEF_H__
#define __LWIP_DEF_H__
#ifndef LWIP_HDR_DEF_H__
#define LWIP_HDR_DEF_H__
/* arch.h might define NULL already */
#include "lwip/arch.h"
@ -119,5 +119,5 @@ u32_t lwip_ntohl(u32_t x);
}
#endif
#endif /* __LWIP_DEF_H__ */
#endif /* LWIP_HDR_DEF_H__ */

View File

@ -1,8 +1,8 @@
/** @file
*/
#ifndef __LWIP_DHCP_H__
#define __LWIP_DHCP_H__
#ifndef LWIP_HDR_DHCP_H__
#define LWIP_HDR_DHCP_H__
#include "lwip/opt.h"
@ -239,4 +239,4 @@ void dhcp_fine_tmr(void);
#endif /* LWIP_DHCP */
#endif /*__LWIP_DHCP_H__*/
#endif /*LWIP_HDR_DHCP_H__*/

View File

@ -31,8 +31,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __LWIP_DNS_H__
#define __LWIP_DNS_H__
#ifndef LWIP_HDR_DNS_H__
#define LWIP_HDR_DNS_H__
#include "lwip/opt.h"
@ -121,4 +121,4 @@ err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
#endif /* LWIP_DNS */
#endif /* __LWIP_DNS_H__ */
#endif /* LWIP_HDR_DNS_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_ERR_H__
#define __LWIP_ERR_H__
#ifndef LWIP_HDR_ERR_H__
#define LWIP_HDR_ERR_H__
#include "lwip/opt.h"
#include "lwip/arch.h"
@ -82,4 +82,4 @@ extern const char *lwip_strerr(err_t err);
}
#endif
#endif /* __LWIP_ERR_H__ */
#endif /* LWIP_HDR_ERR_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_INET_CHKSUM_H__
#define __LWIP_INET_CHKSUM_H__
#ifndef LWIP_HDR_INET_CHKSUM_H__
#define LWIP_HDR_INET_CHKSUM_H__
#include "lwip/opt.h"
@ -108,5 +108,5 @@ u16_t ip6_chksum_pseudo_partial(struct pbuf *p, u8_t proto, u16_t proto_len,
}
#endif
#endif /* __LWIP_INET_H__ */
#endif /* LWIP_HDR_INET_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_INIT_H__
#define __LWIP_INIT_H__
#ifndef LWIP_HDR_INIT_H__
#define LWIP_HDR_INIT_H__
#include "lwip/opt.h"
@ -69,4 +69,4 @@ void lwip_init(void);
}
#endif
#endif /* __LWIP_INIT_H__ */
#endif /* LWIP_HDR_INIT_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_IP_H__
#define __LWIP_IP_H__
#ifndef LWIP_HDR_IP_H__
#define LWIP_HDR_IP_H__
#include "lwip/opt.h"
@ -255,6 +255,6 @@ extern struct ip_globals ip_data;
}
#endif
#endif /* __LWIP_IP_H__ */
#endif /* LWIP_HDR_IP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_IP_ADDR_H__
#define __LWIP_IP_ADDR_H__
#ifndef LWIP_HDR_IP_ADDR_H__
#define LWIP_HDR_IP_ADDR_H__
#include "lwip/opt.h"
#include "lwip/def.h"
@ -127,4 +127,4 @@ typedef ip_addr_t ipX_addr_t;
}
#endif
#endif /* __LWIP_IP_ADDR_H__ */
#endif /* LWIP_HDR_IP_ADDR_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_MEM_H__
#define __LWIP_MEM_H__
#ifndef LWIP_HDR_MEM_H__
#define LWIP_HDR_MEM_H__
#include "lwip/opt.h"
@ -120,4 +120,4 @@ void mem_free(void *mem);
}
#endif
#endif /* __LWIP_MEM_H__ */
#endif /* LWIP_HDR_MEM_H__ */

View File

@ -30,8 +30,8 @@
*
*/
#ifndef __LWIP_MEMP_H__
#define __LWIP_MEMP_H__
#ifndef LWIP_HDR_MEMP_H__
#define LWIP_HDR_MEMP_H__
#include "lwip/opt.h"
@ -113,4 +113,4 @@ void memp_free(memp_t type, void *mem);
}
#endif
#endif /* __LWIP_MEMP_H__ */
#endif /* LWIP_HDR_MEMP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_NETBUF_H__
#define __LWIP_NETBUF_H__
#ifndef LWIP_HDR_NETBUF_H__
#define LWIP_HDR_NETBUF_H__
#include "lwip/opt.h"
#include "lwip/pbuf.h"
@ -109,4 +109,4 @@ void netbuf_first (struct netbuf *buf);
}
#endif
#endif /* __LWIP_NETBUF_H__ */
#endif /* LWIP_HDR_NETBUF_H__ */

View File

@ -26,8 +26,8 @@
* Author: Simon Goldschmidt
*
*/
#ifndef __LWIP_NETDB_H__
#define __LWIP_NETDB_H__
#ifndef LWIP_HDR_NETDB_H__
#define LWIP_HDR_NETDB_H__
#include "lwip/opt.h"
@ -121,4 +121,4 @@ int lwip_getaddrinfo(const char *nodename,
#endif /* LWIP_DNS && LWIP_SOCKET */
#endif /* __LWIP_NETDB_H__ */
#endif /* LWIP_HDR_NETDB_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_NETIF_H__
#define __LWIP_NETIF_H__
#ifndef LWIP_HDR_NETIF_H__
#define LWIP_HDR_NETIF_H__
#include "lwip/opt.h"
@ -384,4 +384,4 @@ void netif_create_ip6_linklocal_address(struct netif * netif, u8_t from_mac_48bi
}
#endif
#endif /* __LWIP_NETIF_H__ */
#endif /* LWIP_HDR_NETIF_H__ */

View File

@ -25,8 +25,8 @@
*
*/
#ifndef __LWIP_NETIFAPI_H__
#define __LWIP_NETIFAPI_H__
#ifndef LWIP_HDR_NETIFAPI_H__
#define LWIP_HDR_NETIFAPI_H__
#include "lwip/opt.h"
@ -114,4 +114,4 @@ err_t netifapi_netif_common ( struct netif *netif,
#endif /* LWIP_NETIF_API */
#endif /* __LWIP_NETIFAPI_H__ */
#endif /* LWIP_HDR_NETIFAPI_H__ */

View File

@ -35,8 +35,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_OPT_H__
#define __LWIP_OPT_H__
#ifndef LWIP_HDR_OPT_H__
#define LWIP_HDR_OPT_H__
/*
* Include user defined options first. Anything not defined in these files
@ -2539,4 +2539,4 @@
#define IP6_DEBUG LWIP_DBG_OFF
#endif
#endif /* __LWIP_OPT_H__ */
#endif /* LWIP_HDR_OPT_H__ */

View File

@ -30,8 +30,8 @@
*
*/
#ifndef __LWIP_PBUF_H__
#define __LWIP_PBUF_H__
#ifndef LWIP_HDR_PBUF_H__
#define LWIP_HDR_PBUF_H__
#include "lwip/opt.h"
#include "lwip/err.h"
@ -185,4 +185,4 @@ u16_t pbuf_strstr(struct pbuf* p, const char* substr);
}
#endif
#endif /* __LWIP_PBUF_H__ */
#endif /* LWIP_HDR_PBUF_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_RAW_H__
#define __LWIP_RAW_H__
#ifndef LWIP_HDR_RAW_H__
#define LWIP_HDR_RAW_H__
#include "lwip/opt.h"
@ -133,4 +133,4 @@ u8_t raw_input (struct pbuf *p, struct netif *inp);
#endif /* LWIP_RAW */
#endif /* __LWIP_RAW_H__ */
#endif /* LWIP_HDR_RAW_H__ */

View File

@ -32,8 +32,8 @@
* It needs to be implemented by those platforms which need SLIP or PPP
*/
#ifndef __SIO_H__
#define __SIO_H__
#ifndef SIO_H__
#define SIO_H__
#include "lwip/arch.h"
@ -138,4 +138,4 @@ void sio_read_abort(sio_fd_t fd);
}
#endif
#endif /* __SIO_H__ */
#endif /* SIO_H__ */

View File

@ -30,8 +30,8 @@
* Author: Leon Woestenberg <leon.woestenberg@axon.tv>
*
*/
#ifndef __LWIP_SNMP_H__
#define __LWIP_SNMP_H__
#ifndef LWIP_HDR_SNMP_H__
#define LWIP_HDR_SNMP_H__
#include "lwip/opt.h"
@ -364,4 +364,4 @@ void snmp_get_snmpenableauthentraps(u8_t *value);
}
#endif
#endif /* __LWIP_SNMP_H__ */
#endif /* LWIP_HDR_SNMP_H__ */

View File

@ -32,8 +32,8 @@
* Author: Christiaan Simons <christiaan.simons@axon.tv>
*/
#ifndef __LWIP_SNMP_ASN1_H__
#define __LWIP_SNMP_ASN1_H__
#ifndef LWIP_HDR_SNMP_ASN1_H__
#define LWIP_HDR_SNMP_ASN1_H__
#include "lwip/opt.h"
#include "lwip/err.h"
@ -98,4 +98,4 @@ err_t snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw);
#endif /* LWIP_SNMP */
#endif /* __LWIP_SNMP_ASN1_H__ */
#endif /* LWIP_HDR_SNMP_ASN1_H__ */

View File

@ -32,8 +32,8 @@
* Author: Christiaan Simons <christiaan.simons@axon.tv>
*/
#ifndef __LWIP_SNMP_MSG_H__
#define __LWIP_SNMP_MSG_H__
#ifndef LWIP_HDR_SNMP_MSG_H__
#define LWIP_HDR_SNMP_MSG_H__
#include "lwip/opt.h"
#include "lwip/snmp.h"
@ -312,4 +312,4 @@ void snmp_authfail_trap(void);
#endif /* LWIP_SNMP */
#endif /* __LWIP_SNMP_MSG_H__ */
#endif /* LWIP_HDR_SNMP_MSG_H__ */

View File

@ -34,8 +34,8 @@
* Author: Christiaan Simons <christiaan.simons@axon.tv>
*/
#ifndef __LWIP_SNMP_STRUCTS_H__
#define __LWIP_SNMP_STRUCTS_H__
#ifndef LWIP_HDR_SNMP_STRUCTS_H__
#define LWIP_HDR_SNMP_STRUCTS_H__
#include "lwip/opt.h"
@ -265,4 +265,4 @@ u8_t snmp_iso_prefix_expand(u8_t ident_len, s32_t *ident, struct snmp_obj_id *oi
#endif /* LWIP_SNMP */
#endif /* __LWIP_SNMP_STRUCTS_H__ */
#endif /* LWIP_HDR_SNMP_STRUCTS_H__ */

View File

@ -31,8 +31,8 @@
*/
#ifndef __LWIP_SOCKETS_H__
#define __LWIP_SOCKETS_H__
#ifndef LWIP_HDR_SOCKETS_H__
#define LWIP_HDR_SOCKETS_H__
#include "lwip/opt.h"
@ -472,4 +472,4 @@ int lwip_fcntl(int s, int cmd, int val);
#endif /* LWIP_SOCKET */
#endif /* __LWIP_SOCKETS_H__ */
#endif /* LWIP_HDR_SOCKETS_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_STATS_H__
#define __LWIP_STATS_H__
#ifndef LWIP_HDR_STATS_H__
#define LWIP_HDR_STATS_H__
#include "lwip/opt.h"
@ -344,4 +344,4 @@ void stats_display_sys(struct stats_sys *sys);
}
#endif
#endif /* __LWIP_STATS_H__ */
#endif /* LWIP_HDR_STATS_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_SYS_H__
#define __LWIP_SYS_H__
#ifndef LWIP_HDR_SYS_H__
#define LWIP_HDR_SYS_H__
#include "lwip/opt.h"
@ -333,4 +333,4 @@ void sys_arch_unprotect(sys_prot_t pval);
}
#endif
#endif /* __LWIP_SYS_H__ */
#endif /* LWIP_HDR_SYS_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_TCP_H__
#define __LWIP_TCP_H__
#ifndef LWIP_HDR_TCP_H__
#define LWIP_HDR_TCP_H__
#include "lwip/opt.h"
@ -414,4 +414,4 @@ struct tcp_pcb * tcp_listen_dual_with_backlog(struct tcp_pcb *pcb, u8_t backlog)
#endif /* LWIP_TCP */
#endif /* __LWIP_TCP_H__ */
#endif /* LWIP_HDR_TCP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_TCP_IMPL_H__
#define __LWIP_TCP_IMPL_H__
#ifndef LWIP_HDR_TCP_IMPL_H__
#define LWIP_HDR_TCP_IMPL_H__
#include "lwip/opt.h"
@ -527,4 +527,4 @@ void tcp_timer_needed(void);
#endif /* LWIP_TCP */
#endif /* __LWIP_TCP_H__ */
#endif /* LWIP_HDR_TCP_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_TCPIP_H__
#define __LWIP_TCPIP_H__
#ifndef LWIP_HDR_TCPIP_H__
#define LWIP_HDR_TCPIP_H__
#include "lwip/opt.h"
@ -205,4 +205,4 @@ struct tcpip_msg {
#endif /* !NO_SYS */
#endif /* __LWIP_TCPIP_H__ */
#endif /* LWIP_HDR_TCPIP_H__ */

View File

@ -30,8 +30,8 @@
* Simon Goldschmidt
*
*/
#ifndef __LWIP_TIMERS_H__
#define __LWIP_TIMERS_H__
#ifndef LWIP_HDR_TIMERS_H__
#define LWIP_HDR_TIMERS_H__
#include "lwip/opt.h"
@ -97,4 +97,4 @@ void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
#endif
#endif /* LWIP_TIMERS */
#endif /* __LWIP_TIMERS_H__ */
#endif /* LWIP_HDR_TIMERS_H__ */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __LWIP_UDP_H__
#define __LWIP_UDP_H__
#ifndef LWIP_HDR_UDP_H__
#define LWIP_HDR_UDP_H__
#include "lwip/opt.h"
@ -218,4 +218,4 @@ void udp_debug_print(struct udp_hdr *udphdr);
#endif /* LWIP_UDP */
#endif /* __LWIP_UDP_H__ */
#endif /* LWIP_HDR_UDP_H__ */

View File

@ -32,8 +32,8 @@
*
*/
#ifndef __NETIF_ETHARP_H__
#define __NETIF_ETHARP_H__
#ifndef LWIP_HDR_NETIF_ETHARP_H__
#define LWIP_HDR_NETIF_ETHARP_H__
#include "lwip/opt.h"
@ -226,4 +226,4 @@ extern const struct eth_addr ethbroadcast, ethzero;
}
#endif
#endif /* __NETIF_ARP_H__ */
#endif /* LWIP_HDR_NETIF_ARP_H__ */

View File

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __NETIF_SLIPIF_H__
#define __NETIF_SLIPIF_H__
#ifndef LWIP_HDR_NETIF_SLIPIF_H__
#define LWIP_HDR_NETIF_SLIPIF_H__
#include "lwip/opt.h"
#include "lwip/netif.h"
@ -77,5 +77,5 @@ void slipif_received_bytes(struct netif *netif, u8_t *data, u8_t len);
}
#endif
#endif
#endif /* LWIP_HDR_NETIF_SLIPIF_H__ */

View File

@ -1,5 +1,5 @@
#ifndef __TEST_MEM_H__
#define __TEST_MEM_H__
#ifndef LWIP_HDR_TEST_MEM_H__
#define LWIP_HDR_TEST_MEM_H__
#include "../lwip_check.h"

View File

@ -1,5 +1,5 @@
#ifndef __TEST_PBUF_H__
#define __TEST_PBUF_H__
#ifndef LWIP_HDR_TEST_PBUF_H__
#define LWIP_HDR_TEST_PBUF_H__
#include "../lwip_check.h"

View File

@ -1,5 +1,5 @@
#ifndef __TEST_DHCP_H__
#define __TEST_DHCP_H__
#ifndef LWIP_HDR_TEST_DHCP_H__
#define LWIP_HDR_TEST_DHCP_H__
#include "../lwip_check.h"

View File

@ -1,5 +1,5 @@
#ifndef __TEST_ETHARP_H__
#define __TEST_ETHARP_H__
#ifndef LWIP_HDR_TEST_ETHARP_H__
#define LWIP_HDR_TEST_ETHARP_H__
#include "../lwip_check.h"

View File

@ -1,5 +1,5 @@
#ifndef __LWIP_CHECK_H__
#define __LWIP_CHECK_H__
#ifndef LWIP_HDR_LWIP_CHECK_H__
#define LWIP_HDR_LWIP_CHECK_H__
/* Common header file for lwIP unit tests using the check framework */
@ -44,4 +44,4 @@ static Suite* create_suite(const char* name, testfunc *tests, size_t num_tests,
return s;
}
#endif /* __LWIP_CHECK_H__ */
#endif /* LWIP_HDR_LWIP_CHECK_H__ */

View File

@ -29,8 +29,8 @@
* Author: Simon Goldschmidt
*
*/
#ifndef __LWIPOPTS_H__
#define __LWIPOPTS_H__
#ifndef LWIP_HDR_LWIPOPTS_H__
#define LWIP_HDR_LWIPOPTS_H__
/* Prevent having to link sys_arch.c (we don't test the API layers in unit tests) */
#define NO_SYS 1
@ -53,4 +53,4 @@
/* Minimal changes to opt.h required for etharp unit tests: */
#define ETHARP_SUPPORT_STATIC_ENTRIES 1
#endif /* __LWIPOPTS_H__ */
#endif /* LWIP_HDR_LWIPOPTS_H__ */

View File

@ -1,5 +1,5 @@
#ifndef __TCP_HELPER_H__
#define __TCP_HELPER_H__
#ifndef LWIP_HDR_TCP_HELPER_H__
#define LWIP_HDR_TCP_HELPER_H__
#include "../lwip_check.h"
#include "lwip/arch.h"

View File

@ -1,5 +1,5 @@
#ifndef __TEST_TCP_H__
#define __TEST_TCP_H__
#ifndef LWIP_HDR_TEST_TCP_H__
#define LWIP_HDR_TEST_TCP_H__
#include "../lwip_check.h"

View File

@ -1,5 +1,5 @@
#ifndef __TEST_TCP_OOS_H__
#define __TEST_TCP_OOS_H__
#ifndef LWIP_HDR_TEST_TCP_OOS_H__
#define LWIP_HDR_TEST_TCP_OOS_H__
#include "../lwip_check.h"

View File

@ -1,5 +1,5 @@
#ifndef __TEST_UDP_H__
#define __TEST_UDP_H__
#ifndef LWIP_HDR_TEST_UDP_H__
#define LWIP_HDR_TEST_UDP_H__
#include "../lwip_check.h"