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

@@ -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"