mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-01 23:53:26 +08:00
Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user