mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-26 12:14:56 +00:00
Fix mg_prefix test
This commit is contained in:
1 parent
299075c930
commit
bdb747f9de
7 files changed
+14
-14
No files matched your search
@@ -41,7 +41,7 @@ int packed_close(void *cookie) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
FILE *fopen_packed(const char *path, const char *mode) {
|
||||
FILE *mg_fopen_packed(const char *path, const char *mode) {
|
||||
cookie_io_functions_t funcs = {
|
||||
.read = packed_read,
|
||||
.write = packed_write,
|
||||
@@ -58,7 +58,7 @@ FILE *fopen_packed(const char *path, const char *mode) {
|
||||
return fopencookie(cookie, mode, funcs);
|
||||
}
|
||||
#else
|
||||
FILE *fopen_packed(const char *path, const char *mode) {
|
||||
FILE *mg_fopen_packed(const char *path, const char *mode) {
|
||||
(void) path, (void) mode;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user