Add mongoose very pedantic fixes for style checkers

This commit is contained in:
Christian W. Zuckschwerdt 2019-11-03 11:19:58 +01:00
parent f33cce5113
commit f9f7dad612
2 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,6 @@
#ifndef INCLUDE_MONGOOSE_H_
#define INCLUDE_MONGOOSE_H_
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/mg_common.h"
#endif
@ -6750,3 +6753,5 @@ struct mg_iface *mg_socks_mk_iface(struct mg_mgr *, const char *proxy_addr);
#endif
#endif
#endif /* INCLUDE_MONGOOSE_H_ */

View file

@ -1,4 +1,21 @@
diff --git a/include/mongoose.h b/include/mongoose.h
index 03cc04e..b885270 100644
--- a/include/mongoose.h
+++ b/include/mongoose.h
@@ -1,3 +1,6 @@
+#ifndef INCLUDE_MONGOOSE_H_
+#define INCLUDE_MONGOOSE_H_
+
#ifdef MG_MODULE_LINES
#line 1 "mongoose/src/mg_common.h"
#endif
@@ -6750,3 +6753,5 @@ struct mg_iface *mg_socks_mk_iface(struct mg_mgr *, const char *proxy_addr);
#endif
#endif
+
+#endif /* INCLUDE_MONGOOSE_H_ */
diff --git a/include/mongoose.h b/include/mongoose.h
index 316f5f9..03cc04e 100644
--- a/include/mongoose.h
+++ b/include/mongoose.h