commit 77d529483b0359852224104b43e9321061fe0718
parent ff45251efbbb6518cabc8ec39a89cd3eff73af27
Author: Alan Post <adp@prgmr.com>
Date: Thu, 22 Aug 2019 19:37:58 -0600
include stdlib.h and stop redeclaring malloc, free in alloc.c
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/alloc.c b/alloc.c
@@ -1,7 +1,6 @@
+#include <stdlib.h>
#include "alloc.h"
#include "error.h"
-extern char *malloc();
-extern void free();
#define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */
#define SPACE 4096 /* must be multiple of ALIGNMENT */