mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-01 07:59:00 +08:00
Fix mg_prefix test
This commit is contained in:
parent
bdb747f9de
commit
53ee984eb7
@ -417,8 +417,8 @@ struct packed_file {
|
||||
size_t pos;
|
||||
};
|
||||
|
||||
const char *unpack(const char *, size_t *) WEAK;
|
||||
const char *unpack(const char *path, size_t *size) {
|
||||
const char *mg_unpack(const char *, size_t *) WEAK;
|
||||
const char *mg_unpack(const char *path, size_t *size) {
|
||||
(void) path, (void) size;
|
||||
return NULL;
|
||||
}
|
||||
|
4
src/fs.c
4
src/fs.c
@ -6,8 +6,8 @@ struct packed_file {
|
||||
size_t pos;
|
||||
};
|
||||
|
||||
const char *unpack(const char *, size_t *) WEAK;
|
||||
const char *unpack(const char *path, size_t *size) {
|
||||
const char *mg_unpack(const char *, size_t *) WEAK;
|
||||
const char *mg_unpack(const char *path, size_t *size) {
|
||||
(void) path, (void) size;
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user