pkgsrc/net/publicfile/patches/patch-alloc.c

13 lines
379 B
C

$NetBSD: patch-alloc.c,v 1.1 2013/05/23 14:57:32 joerg Exp $
--- alloc.c.orig 1999-11-09 07:23:46.000000000 +0000
+++ alloc.c
@@ -1,7 +1,6 @@
#include "alloc.h"
#include "error.h"
-extern char *malloc();
-extern void free();
+#include <stdlib.h>
#define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */
#define SPACE 4096 /* must be multiple of ALIGNMENT */