mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
Add a tool to fix header guards, apply globally
Identifiers starting with _ are reserved, fix those. Wrote a tool to do it and applied it globally, why not. PUBLISHED_FROM=db0fa27c90cbfb06ed06469406f9867c5a5bd3c4
This commit is contained in:
1 parent
f56c5b201d
commit
d1cc952859
4 files changed
+100
-90
No files matched your search
@@ -3,8 +3,8 @@
|
||||
* All rights reserved
|
||||
*/
|
||||
|
||||
#ifndef DB_PLUGIN_HEADER_DEFINED
|
||||
#define DB_PLUGIN_HEADER_DEFINED
|
||||
#ifndef CS_MONGOOSE_EXAMPLES_API_SERVER_DB_PLUGIN_H_
|
||||
#define CS_MONGOOSE_EXAMPLES_API_SERVER_DB_PLUGIN_H_
|
||||
|
||||
#include "../../mongoose.h"
|
||||
|
||||
@@ -16,4 +16,4 @@ enum { API_OP_GET, API_OP_SET, API_OP_DEL };
|
||||
void db_op(struct mg_connection *nc, const struct http_message *hm,
|
||||
const struct mg_str *key, void *db, int op);
|
||||
|
||||
#endif /* DB_PLUGIN_HEADER_DEFINED */
|
||||
#endif /* CS_MONGOOSE_EXAMPLES_API_SERVER_DB_PLUGIN_H_ */
|
||||
Reference in new issue
Block a user