Fix mg_prefix test

This commit is contained in:
Sergey Lyubka committed 2021-07-26 09:15:17 +01:00
1 parent 299075c930
commit bdb747f9de
7 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -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;
}
+1 -1
View File
@@ -2,4 +2,4 @@
#include "arch.h"
FILE *fopen_packed(const char *path, const char *mode);
FILE *mg_fopen_packed(const char *path, const char *mode);