| --- ghostscript-9.53.3/base/fapi_ft.c.orig 2020-10-27 21:25:07.965599700 +0300 |
| +++ ghostscript-9.53.3/base/fapi_ft.c 2020-10-27 21:27:29.261301600 +0300 |
| @@ -125,7 +125,7 @@ |
| delete_inc_int_info(gs_fapi_server * a_server, |
| FT_IncrementalRec * a_inc_int_info); |
| |
| -FT_CALLBACK_DEF(void *) |
| +void * |
| FF_alloc(FT_Memory memory, long size) |
| { |
| gs_memory_t *mem = (gs_memory_t *) memory->user; |
| @@ -133,7 +133,7 @@ |
| return (gs_malloc(mem, size, 1, "FF_alloc")); |
| } |
| |
| -FT_CALLBACK_DEF(void *) |
| +void * |
| FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block) |
| { |
| gs_memory_t *mem = (gs_memory_t *) memory->user; |
| @@ -153,7 +153,7 @@ |
| return (tmp); |
| } |
| |
| -FT_CALLBACK_DEF(void) |
| +void |
| FF_free(FT_Memory memory, void *block) |
| { |
| gs_memory_t *mem = (gs_memory_t *) memory->user; |