minor: macros should not end with underscore(s)

This commit is contained in:
sg 2016-08-08 21:47:20 +02:00
parent 1631307bb3
commit a2fd68098e
13 changed files with 31 additions and 31 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

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

View File

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

View File

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

View File

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

View File

@ -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 */

View File

@ -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 */

View File

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

View File

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

View File

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

View File

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