$NetBSD: patch-bt,v 1.1 2004/03/25 22:13:34 kristerw Exp $ --- src/buffer.h.orig 1998-10-08 08:44:42.000000000 +0200 +++ src/buffer.h 2004-03-25 22:51:09.000000000 +0100 @@ -762,6 +762,9 @@ /* Allocation of buffer text. */ #ifdef REL_ALLOC +void* r_alloc(void*, unsigned long); +void r_alloc_free(void*); +void* r_re_alloc(void*, unsigned long); #define BUFFER_ALLOC(data,size) ((unsigned char *) r_alloc (&data, (size))) #define BUFFER_REALLOC(data,size) ((unsigned char *) r_re_alloc (&data, (size))) #define BUFFER_FREE(data) (r_alloc_free (&data))