mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 12:24:22 +00:00
minor: macros should not end with underscore(s)
This commit is contained in:
parent
1631307bb3
commit
a2fd68098e
@ -34,8 +34,8 @@
|
|||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_HDR_IP_H__
|
#ifndef LWIP_HDR_IP_H
|
||||||
#define LWIP_HDR_IP_H__
|
#define LWIP_HDR_IP_H
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
|
|
||||||
@ -322,6 +322,6 @@ err_t ip_input(struct pbuf *p, struct netif *inp);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_HDR_IP_H__ */
|
#endif /* LWIP_HDR_IP_H */
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_HDR_IP_ADDR_H__
|
#ifndef LWIP_HDR_IP_ADDR_H
|
||||||
#define LWIP_HDR_IP_ADDR_H__
|
#define LWIP_HDR_IP_ADDR_H
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#include "lwip/def.h"
|
#include "lwip/def.h"
|
||||||
@ -357,4 +357,4 @@ extern const ip_addr_t ip6_addr_any;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_HDR_IP_ADDR_H__ */
|
#endif /* LWIP_HDR_IP_ADDR_H */
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
#include "netif/ppp/ppp_opts.h"
|
#include "netif/ppp/ppp_opts.h"
|
||||||
#if PPP_SUPPORT && PPPOL2TP_SUPPORT /* don't build if not configured for use in lwipopts.h */
|
#if PPP_SUPPORT && PPPOL2TP_SUPPORT /* don't build if not configured for use in lwipopts.h */
|
||||||
|
|
||||||
#ifndef PPPOL2TP_H_
|
#ifndef PPPOL2TP_H
|
||||||
#define PPPOL2TP_H_
|
#define PPPOL2TP_H
|
||||||
|
|
||||||
#include "ppp.h"
|
#include "ppp.h"
|
||||||
|
|
||||||
@ -197,5 +197,5 @@ ppp_pcb *pppol2tp_create(struct netif *pppif,
|
|||||||
const u8_t *secret, u8_t secret_len,
|
const u8_t *secret, u8_t secret_len,
|
||||||
ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
|
ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
|
||||||
|
|
||||||
#endif /* PPPOL2TP_H_ */
|
#endif /* PPPOL2TP_H */
|
||||||
#endif /* PPP_SUPPORT && PPPOL2TP_SUPPORT */
|
#endif /* PPP_SUPPORT && PPPOL2TP_SUPPORT */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_MEM_H__
|
#ifndef LWIP_HDR_TEST_MEM_H
|
||||||
#define LWIP_HDR_TEST_MEM_H__
|
#define LWIP_HDR_TEST_MEM_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_PBUF_H__
|
#ifndef LWIP_HDR_TEST_PBUF_H
|
||||||
#define LWIP_HDR_TEST_PBUF_H__
|
#define LWIP_HDR_TEST_PBUF_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_DHCP_H__
|
#ifndef LWIP_HDR_TEST_DHCP_H
|
||||||
#define LWIP_HDR_TEST_DHCP_H__
|
#define LWIP_HDR_TEST_DHCP_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_ETHARP_H__
|
#ifndef LWIP_HDR_TEST_ETHARP_H
|
||||||
#define LWIP_HDR_TEST_ETHARP_H__
|
#define LWIP_HDR_TEST_ETHARP_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_LWIP_CHECK_H__
|
#ifndef LWIP_HDR_LWIP_CHECK_H
|
||||||
#define LWIP_HDR_LWIP_CHECK_H__
|
#define LWIP_HDR_LWIP_CHECK_H
|
||||||
|
|
||||||
/* Common header file for lwIP unit tests using the check framework */
|
/* Common header file for lwIP unit tests using the check framework */
|
||||||
|
|
||||||
@ -34,4 +34,4 @@ Suite* create_suite(const char* name, testfunc *tests, size_t num_tests, SFun se
|
|||||||
int lwip_unittests_run(void)
|
int lwip_unittests_run(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_HDR_LWIP_CHECK_H__ */
|
#endif /* LWIP_HDR_LWIP_CHECK_H */
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
* Author: Simon Goldschmidt
|
* Author: Simon Goldschmidt
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifndef LWIP_HDR_LWIPOPTS_H__
|
#ifndef LWIP_HDR_LWIPOPTS_H
|
||||||
#define 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) */
|
/* Prevent having to link sys_arch.c (we don't test the API layers in unit tests) */
|
||||||
#define NO_SYS 1
|
#define NO_SYS 1
|
||||||
@ -54,4 +54,4 @@
|
|||||||
/* Minimal changes to opt.h required for etharp unit tests: */
|
/* Minimal changes to opt.h required for etharp unit tests: */
|
||||||
#define ETHARP_SUPPORT_STATIC_ENTRIES 1
|
#define ETHARP_SUPPORT_STATIC_ENTRIES 1
|
||||||
|
|
||||||
#endif /* LWIP_HDR_LWIPOPTS_H__ */
|
#endif /* LWIP_HDR_LWIPOPTS_H */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TCP_HELPER_H__
|
#ifndef LWIP_HDR_TCP_HELPER_H
|
||||||
#define LWIP_HDR_TCP_HELPER_H__
|
#define LWIP_HDR_TCP_HELPER_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
#include "lwip/arch.h"
|
#include "lwip/arch.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_TCP_H__
|
#ifndef LWIP_HDR_TEST_TCP_H
|
||||||
#define LWIP_HDR_TEST_TCP_H__
|
#define LWIP_HDR_TEST_TCP_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_TCP_OOS_H__
|
#ifndef LWIP_HDR_TEST_TCP_OOS_H
|
||||||
#define LWIP_HDR_TEST_TCP_OOS_H__
|
#define LWIP_HDR_TEST_TCP_OOS_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef LWIP_HDR_TEST_UDP_H__
|
#ifndef LWIP_HDR_TEST_UDP_H
|
||||||
#define LWIP_HDR_TEST_UDP_H__
|
#define LWIP_HDR_TEST_UDP_H
|
||||||
|
|
||||||
#include "../lwip_check.h"
|
#include "../lwip_check.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user