PPP, fix reserved identifier violation (removed leading underscores from header include guards)

This commit is contained in:
Sylvain Rochet 2016-04-21 23:15:49 +02:00
parent 76d25befb4
commit 54f7cae12c
4 changed files with 12 additions and 12 deletions

View File

@ -33,12 +33,12 @@
#include "netif/ppp/ppp_opts.h"
#if PPP_SUPPORT && MSCHAP_SUPPORT /* don't build if not configured for use in lwipopts.h */
#ifndef __CHAPMS_INCLUDE__
#ifndef CHAPMS_INCLUDE
#define CHAPMS_INCLUDE
extern const struct chap_digest_type chapms_digest;
extern const struct chap_digest_type chapms2_digest;
#define __CHAPMS_INCLUDE__
#endif /* __CHAPMS_INCLUDE__ */
#endif /* CHAPMS_INCLUDE */
#endif /* PPP_SUPPORT && MSCHAP_SUPPORT */

View File

@ -38,8 +38,8 @@
#include "netif/ppp/ppp_opts.h"
#if PPP_SUPPORT && PPP_IPV6_SUPPORT /* don't build if not configured for use in lwipopts.h */
#ifndef __EUI64_H__
#define __EUI64_H__
#ifndef EUI64_H
#define EUI64_H
/*
* TODO:
@ -90,5 +90,5 @@ typedef union
char *eui64_ntoa(eui64_t); /* Returns ascii representation of id */
#endif /* __EUI64_H__ */
#endif /* EUI64_H */
#endif /* PPP_SUPPORT && PPP_IPV6_SUPPORT */

View File

@ -25,8 +25,8 @@
*
*/
#ifndef __LWIP_PPP_OPTS_H__
#define __LWIP_PPP_OPTS_H__
#ifndef LWIP_PPP_OPTS_H
#define LWIP_PPP_OPTS_H
#include "lwip/opt.h"
@ -537,4 +537,4 @@
#endif /* PPP_SUPPORT */
#endif /* __LWIP_PPP_OPTS_H__ */
#endif /* LWIP_PPP_OPTS_H */

View File

@ -25,8 +25,8 @@
*
*/
#ifndef __LWIP_PPPAPI_H__
#define __LWIP_PPPAPI_H__
#ifndef LWIP_PPPAPI_H
#define LWIP_PPPAPI_H
#include "netif/ppp/ppp_opts.h"
@ -145,4 +145,4 @@ err_t pppapi_ioctl(ppp_pcb *pcb, u8_t cmd, void *arg);
#endif /* LWIP_PPP_API */
#endif /* __LWIP_PPPAPI_H__ */
#endif /* LWIP_PPPAPI_H */