From 5e3a21913b6a47e78d3e4edd4238d028b90827b7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 4 Dec 2001 21:12:40 +0000 Subject: This update should bring the Windows Help back end up to near-complete functionality. All that's missing now is indexing and horizontal rules. [originally from svn r1449] --- winhelp.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'winhelp.c') diff --git a/winhelp.c b/winhelp.c index ffbd5cd..95f0939 100644 --- a/winhelp.c +++ b/winhelp.c @@ -76,22 +76,11 @@ #include #include +#include "buttress.h" #include "winhelp.h" #include "tree234.h" -/* ---------------------------------------------------------------------- - * FIXME: remove this whole section when we integrate to Buttress. - */ -#define smalloc malloc -#define srealloc realloc -#define sfree free -#define mknew(type) ( (type *) smalloc (sizeof (type)) ) -#define mknewa(type, number) ( (type *) smalloc ((number) * sizeof (type)) ) -#define resize(array, len) ( srealloc ((array), (len) * sizeof (*(array))) ) -#define lenof(array) ( sizeof(array) / sizeof(*(array)) ) -char *dupstr(char *s) { char *r = mknewa(char, 1+strlen(s)); strcpy(r,s); return r; } #define UNUSEDARG(x) ( (x) = (x) ) -/* ------------------------------------------------------------------- */ #define GET_32BIT_LSB_FIRST(cp) \ (((unsigned long)(unsigned char)(cp)[0]) | \ -- cgit v1.1