File: 0001-fix-build-with-gcc-15.patch

package info (click to toggle)
unrtf 0.21.10-clean-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,336 kB
  • sloc: ansic: 6,786; makefile: 165; sh: 80
file content (21 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Willi Mann <willi@debian.org>
Date: Sun, 14 Sep 2025 16:13:09 +0200
Subject: fix build with gcc-15

---
 src/malloc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/malloc.c b/src/malloc.c
index 1bca97a..f6ca4e8 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -165,8 +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.  */