From ff09a191cd3eeb20f6636345ba8390b7a66427fd Mon Sep 17 00:00:00 2001 From: jessica parsons Date: Thu, 11 Sep 2025 12:58:45 -0700 Subject: [PATCH] add a prototype for memset() because gcc/clang/whatever on macos ventura gets a sad when it doesn't see one --- amalloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amalloc.c b/amalloc.c index 9592988..db38c85 100644 --- a/amalloc.c +++ b/amalloc.c @@ -7,6 +7,8 @@ #include #include "config.h" +extern void* memset(void*,int,size_t); + #define MAGIC 0x1f2e3d4c struct alist { int magic, size, index; int *end; struct alist *next, *last; };