A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix

This commit is contained in:
Adam Dunkels 2013-11-24 16:57:08 +01:00
parent 42cae1c6c9
commit bb2dcaa057
572 changed files with 1708 additions and 1708 deletions

View file

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_CFS_H__
#define __HTTPD_CFS_H__
#ifndef HTTPD_CFS_H_
#define HTTPD_CFS_H_
#include "contiki-net.h"
@ -58,4 +58,4 @@ struct httpd_state {
void httpd_init(void);
void httpd_appcall(void *state);
#endif /* __HTTPD_CFS_H__ */
#endif /* HTTPD_CFS_H_ */

View file

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_CGI_H__
#define __HTTPD_CGI_H__
#ifndef HTTPD_CGI_H_
#define HTTPD_CGI_H_
#include "contiki.h"
#include "httpd.h"
@ -53,4 +53,4 @@ void httpd_cgi_add(struct httpd_cgi_call *c);
static struct httpd_cgi_call name = {NULL, str, function}
void httpd_cgi_init(void);
#endif /* __HTTPD_CGI_H__ */
#endif /* HTTPD_CGI_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __HTTPD_FS_H__
#define __HTTPD_FS_H__
#ifndef HTTPD_FS_H_
#define HTTPD_FS_H_
#include "contiki-net.h"
@ -55,4 +55,4 @@ uint16_t httpd_fs_count(char *name);
void httpd_fs_init(void);
#endif /* __HTTPD_FS_H__ */
#endif /* HTTPD_FS_H_ */

View file

@ -31,8 +31,8 @@
* Author: Adam Dunkels <adam@sics.se>
*
*/
#ifndef __HTTPD_FSDATA_H__
#define __HTTPD_FSDATA_H__
#ifndef HTTPD_FSDATA_H_
#define HTTPD_FSDATA_H_
#include "contiki-net.h"
@ -60,4 +60,4 @@ struct httpd_fsdata_file_noconst {
#endif /* HTTPD_FS_STATISTICS */
};
#endif /* __HTTPD_FSDATA_H__ */
#endif /* HTTPD_FSDATA_H_ */

View file

@ -31,8 +31,8 @@
*
*/
#ifndef __HTTPD_H__
#define __HTTPD_H__
#ifndef HTTPD_H_
#define HTTPD_H_
#include "contiki-net.h"
@ -63,4 +63,4 @@ void httpd_appcall(void *state);
uint8_t httpd_sprint_ip6(uip_ip6addr_t addr, char * result);
#endif /* UIP_CONF_IPV6 */
#endif /* __HTTPD_H__ */
#endif /* HTTPD_H_ */

View file

@ -30,10 +30,10 @@
*
*/
#ifndef __URLCONV_H__
#define __URLCONV_H__
#ifndef URLCONV_H_
#define URLCONV_H_
void urlconv_init(void);
void urlconv_tofilename(char *dest, char *source, unsigned char maxlen);
#endif /* __URLCONV_H__ */
#endif /* URLCONV_H_ */

View file

@ -31,11 +31,11 @@
*
*
*/
#ifndef __WEBSERVER_DSC_H__
#define __WEBSERVER_DSC_H__
#ifndef WEBSERVER_DSC_H_
#define WEBSERVER_DSC_H_
#include "sys/dsc.h"
DSC_HEADER(webserver_dsc);
#endif /* __WEBSERVER_DSC_H__ */
#endif /* WEBSERVER_DSC_H_ */

View file

@ -31,8 +31,8 @@
*
*
*/
#ifndef __WEBSERVER_NOGUI_H__
#define __WEBSERVER_NOGUI_H__
#ifndef WEBSERVER_NOGUI_H_
#define WEBSERVER_NOGUI_H_
#include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_nogui_process);
void webserver_log(char *msg);
void webserver_log_file(uip_ipaddr_t *requester, char *file);
#endif /* __WEBSERVER_H__ */
#endif /* WEBSERVER_H_ */

View file

@ -31,8 +31,8 @@
*
*
*/
#ifndef __WEBSERVER_H__
#define __WEBSERVER_H__
#ifndef WEBSERVER_H_
#define WEBSERVER_H_
#include "contiki-net.h"
@ -41,4 +41,4 @@ PROCESS_NAME(webserver_process);
void webserver_log(char *msg);
void webserver_log_file(uip_ipaddr_t *requester, char *file);
#endif /* __WEBSERVER_H__ */
#endif /* WEBSERVER_H_ */