summaryrefslogtreecommitdiff
path: root/misc/tlci/files/patch-src_heap.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-11 21:14:30 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-11 21:16:23 +0200
commit77f8df9a0d07f9ca47461eb806a5c3e689830a76 (patch)
treef924c1ef46a04bda4822de78a684f4fdc940e75d /misc/tlci/files/patch-src_heap.c
parentdevel/libshbuf: Fix build with llvm15 (diff)
misc/tlci: Fix build with llvm15
Approved by: portmgr (blanket)
Diffstat (limited to 'misc/tlci/files/patch-src_heap.c')
-rw-r--r--misc/tlci/files/patch-src_heap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/tlci/files/patch-src_heap.c b/misc/tlci/files/patch-src_heap.c
new file mode 100644
index 000000000000..de1243385cfb
--- /dev/null
+++ b/misc/tlci/files/patch-src_heap.c
@@ -0,0 +1,11 @@
+--- src/heap.c.orig 2023-06-11 18:59:24 UTC
++++ src/heap.c
+@@ -34,7 +34,7 @@
+ static heap_cell_t* pool_alloc(heap_t*);
+ static void pool_swipe(heap_t*);
+ /******************************************************************************/
+-heap_t* heap_create()
++heap_t* heap_create(void)
+ {
+ heap_t* heap = calloc(1, sizeof(heap_t));
+ if (!heap) {