mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-14 19:03:20 +00:00
Fix #1481 - use stricter compilation flags
This commit is contained in:
1 parent
a284df01d1
commit
139f928731
8 files changed
+9
-4
No files matched your search
@@ -33,5 +33,6 @@ struct mg_connection *mg_mkpipe(struct mg_mgr *mgr, mg_event_handler_t fn,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void _fini(void);
|
||||
void _fini(void) {
|
||||
}
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <sys/stat.h>
|
||||
|
||||
static const char *code =
|
||||
"const char *mg_unpack(const char *path, size_t *size, time_t *mtime);\n"
|
||||
"const char *mg_unlist(size_t no);\n"
|
||||
"const char *mg_unlist(size_t no) {\n"
|
||||
" return packed_files[no].name;\n"
|
||||
"}\n"
|
||||
|
||||
Reference in new issue
Block a user