File gcc15-conflicting-types.patch of Package unrtf
malloc() is already declared in stdlib.h Origin: Alpine linux https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/unrtf/gcc15-conflicting-types.patch --- a/src/malloc.c +++ b/src/malloc.c @@ -165,7 +165,6 @@ my_strdup(char *src) #include <sys/types.h> #undef malloc -void *malloc(); /* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */