bug #35874 reserved identifier violation, 2nd part

This commit is contained in:
goldsimon 2014-05-20 12:28:00 +02:00
parent b833b173cc
commit e4ec9053e9
23 changed files with 67 additions and 67 deletions

View File

@ -1,5 +1,5 @@
#ifndef LWIP_CHARGEN_H__
#define LWIP_CHARGEN_H__
#ifndef LWIP_CHARGEN_H
#define LWIP_CHARGEN_H
#include "lwip/opt.h"
@ -10,4 +10,4 @@ void chargen_init(void);
#endif /* LWIP_SOCKET */
#endif /* LWIP_CHARGEN_H__ */
#endif /* LWIP_CHARGEN_H */

View File

@ -1,6 +1,6 @@
#ifndef LWIP_HTTPSERVER_NETCONN_H__
#define LWIP_HTTPSERVER_NETCONN_H__
#ifndef LWIP_HTTPSERVER_NETCONN_H
#define LWIP_HTTPSERVER_NETCONN_H
void http_server_netconn_init();
#endif /* LWIP_HTTPSERVER_NETCONN_H__ */
#endif /* LWIP_HTTPSERVER_NETCONN_H */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_FS_H__
#define LWIP_FS_H__
#ifndef LWIP_FS_H
#define LWIP_FS_H
#include "lwip/opt.h"
#include "lwip/err.h"
@ -129,4 +129,4 @@ void *fs_state_init(struct fs_file *file, const char *name);
void fs_state_free(struct fs_file *file, void *state);
#endif /* #if LWIP_HTTPD_FILE_STATE */
#endif /* LWIP_FS_H__ */
#endif /* LWIP_FS_H */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_FSDATA_H__
#define LWIP_FSDATA_H__
#ifndef LWIP_FSDATA_H
#define LWIP_FSDATA_H
#include "lwip/opt.h"
#include "fs.h"
@ -47,4 +47,4 @@ struct fsdata_file {
#endif /* HTTPD_PRECALCULATED_CHECKSUM */
};
#endif /* LWIP_FSDATA_H__ */
#endif /* LWIP_FSDATA_H */

View File

@ -33,8 +33,8 @@
* capability.
*/
#ifndef LWIP_HTTPD_H__
#define LWIP_HTTPD_H__
#ifndef LWIP_HTTPD_H
#define LWIP_HTTPD_H
#include "lwip/opt.h"
#include "lwip/err.h"
@ -233,4 +233,4 @@ void httpd_post_data_recved(void *connection, u16_t recved_len);
void httpd_init(void);
#endif /* LWIP_HTTPD_H__ */
#endif /* LWIP_HTTPD_H */

View File

@ -1,6 +1,6 @@
#ifndef LWIP_NETBIOS_H__
#define LWIP_NETBIOS_H__
#ifndef LWIP_NETBIOS_H
#define LWIP_NETBIOS_H
void netbios_init(void);
#endif /* LWIP_NETBIOS_H__ */
#endif /* LWIP_NETBIOS_H */

View File

@ -1,6 +1,6 @@
#ifndef LWIP_NETIO_H__
#define LWIP_NETIO_H__
#ifndef LWIP_NETIO_H
#define LWIP_NETIO_H
void netio_init(void);
#endif /* LWIP_NETIO_H__ */
#endif /* LWIP_NETIO_H */

View File

@ -1,5 +1,5 @@
#ifndef LWIP_PING_H__
#define LWIP_PING_H__
#ifndef LWIP_PING_H
#define LWIP_PING_H
/**
* PING_USE_SOCKETS: Set to 1 to use sockets, otherwise the raw api is used
@ -15,4 +15,4 @@ void ping_init(void);
void ping_send_now(void);
#endif /* !PING_USE_SOCKETS */
#endif /* LWIP_PING_H__ */
#endif /* LWIP_PING_H */

View File

@ -1,8 +1,8 @@
#ifndef LWIP_RTP_H__
#define LWIP_RTP_H__
#ifndef LWIP_RTP_H
#define LWIP_RTP_H
#if LWIP_SOCKET && LWIP_IGMP
void rtp_init(void);
#endif /* LWIP_SOCKET && LWIP_IGMP */
#endif /* LWIP_RTP_H__ */
#endif /* LWIP_RTP_H */

View File

@ -29,9 +29,9 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_SHELL_H__
#define LWIP_SHELL_H__
#ifndef LWIP_SHELL_H
#define LWIP_SHELL_H
void shell_init(void);
#endif /* LWIP_SHELL_H__ */
#endif /* LWIP_SHELL_H */

View File

@ -1,5 +1,5 @@
#ifndef LWIP_SMTP_H__
#define LWIP_SMTP_H__
#ifndef LWIP_SMTP_H
#define LWIP_SMTP_H
#include "lwip/err.h"
@ -64,4 +64,4 @@ void smtp_send_mail_int(void *arg);
const char* smtp_result_str(u8_t smtp_result);
#endif
#endif /* LWIP_SMTP_H__ */
#endif /* LWIP_SMTP_H */

View File

@ -3,8 +3,8 @@
* Exports Private lwIP MIB
*/
#ifndef LWIP_HDR_PRIVATE_MIB_H__
#define LWIP_HDR_PRIVATE_MIB_H__
#ifndef LWIP_HDR_PRIVATE_MIB_H
#define LWIP_HDR_PRIVATE_MIB_H
#include "arch/cc.h"
#include "lwip/opt.h"

View File

@ -1,5 +1,5 @@
#ifndef LWIP_SNTP_H__
#define LWIP_SNTP_H__
#ifndef LWIP_SNTP_H
#define LWIP_SNTP_H
#ifdef __cplusplus
extern "C" {
@ -12,4 +12,4 @@ void sntp_stop(void);
}
#endif
#endif /* LWIP_SNTP_H__ */
#endif /* LWIP_SNTP_H */

View File

@ -1,6 +1,6 @@
#ifndef LWIP_SOCKET_EXAMPLES_H__
#define LWIP_SOCKET_EXAMPLES_H__
#ifndef LWIP_SOCKET_EXAMPLES_H
#define LWIP_SOCKET_EXAMPLES_H
void socket_examples_init(void);
#endif /* LWIP_SOCKET_EXAMPLES_H__ */
#endif /* LWIP_SOCKET_EXAMPLES_H */

View File

@ -30,9 +30,9 @@
*
*/
#ifndef LWIP_TCPECHO_H__
#define LWIP_TCPECHO_H__
#ifndef LWIP_TCPECHO_H
#define LWIP_TCPECHO_H
void tcpecho_init(void);
#endif /* LWIP_TCPECHO_H__ */
#endif /* LWIP_TCPECHO_H */

View File

@ -27,8 +27,8 @@
* This file is part of the lwIP TCP/IP stack.
*
*/
#ifndef LWIP_ECHO_H__
#define LWIP_ECHO_H__
#ifndef LWIP_ECHO_H
#define LWIP_ECHO_H
void echo_init(void);

View File

@ -29,9 +29,9 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_UDPECHO_H__
#define LWIP_UDPECHO_H__
#ifndef LWIP_UDPECHO_H
#define LWIP_UDPECHO_H
void udpecho_init(void);
#endif /* LWIP_UDPECHO_H__ */
#endif /* LWIP_UDPECHO_H */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_ARCH_CC_H__
#define LWIP_ARCH_CC_H__
#ifndef LWIP_ARCH_CC_H
#define LWIP_ARCH_CC_H
#include <stdio.h> /* printf, fflush, FILE */
#include <stdlib.h> /* abort */
@ -101,4 +101,4 @@ u32_t dns_lookup_external_hosts_file(const char *name);
#define LWIP_RAND() ((u32_t)rand())
#endif /* LWIP_ARCH_CC_H__ */
#endif /* LWIP_ARCH_CC_H */

View File

@ -31,10 +31,10 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_PERF_H__
#define LWIP_PERF_H__
#ifndef LWIP_PERF_H
#define LWIP_PERF_H
#define PERF_START /* null definition */
#define PERF_STOP(x) /* null definition */
#endif /* LWIP_PERF_H__ */
#endif /* LWIP_PERF_H */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_ARCH_SYS_ARCH_H__
#define LWIP_ARCH_SYS_ARCH_H__
#ifndef LWIP_ARCH_SYS_ARCH_H
#define LWIP_ARCH_SYS_ARCH_H
/* HANDLE is used for sys_sem_t but we won't include windows.h */
struct _sys_sem {
@ -60,5 +60,5 @@ typedef struct lwip_mbox sys_mbox_t;
/* DWORD (thread id) is used for sys_thread_t but we won't include windows.h */
typedef u32_t sys_thread_t;
#endif /* LWIP_ARCH_SYS_ARCH_H__ */
#endif /* LWIP_ARCH_SYS_ARCH_H */

View File

@ -29,8 +29,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef LWIP_LWIPOPTS_H__
#define LWIP_LWIPOPTS_H__
#ifndef LWIP_LWIPOPTS_H
#define LWIP_LWIPOPTS_H
#define NO_SYS 0
#define LWIP_SOCKET (NO_SYS==0)
@ -282,4 +282,4 @@ a lot of data that needs to be copied, this should be set high. */
#endif /* PPP_SUPPORT */
#endif /* LWIP_LWIPOPTS_H__ */
#endif /* LWIP_LWIPOPTS_H */

View File

@ -1,5 +1,5 @@
#ifndef LWIP_PCAPIF_H__
#define LWIP_PCAPIF_H__
#ifndef LWIP_PCAPIF_H
#define LWIP_PCAPIF_H
#ifdef __cplusplus
extern "C" {
@ -29,4 +29,4 @@ void pcapif_poll (struct netif *netif);
}
#endif
#endif /* LWIP_PCAPIF_H__ */
#endif /* LWIP_PCAPIF_H */

View File

@ -1,5 +1,5 @@
#ifndef LWIP_PCAPIF_HELPER_H__
#define LWIP_PCAPIF_HELPER_H__
#ifndef LWIP_PCAPIF_HELPER_H
#define LWIP_PCAPIF_HELPER_H
#ifdef __cplusplus
extern "C" {
@ -22,4 +22,4 @@ void pcapifh_linkstate_close(struct pcapifh_linkstate* state);
}
#endif
#endif /* LWIP_PCAPIF_HELPER_H__ */
#endif /* LWIP_PCAPIF_HELPER_H */