pkgsrc/textproc/helpdeco/patches/patch-ae
agc fd90718b4c Initial import of helpdeco-21 into the packages collection.
Provided by Ben Collver (collver@linuxfreemail.com) in PR 12927

helpdeco is a windows .hlp to RTF converter.
2001-05-23 15:47:43 +00:00

28 lines
898 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2001/05/23 15:47:45 agc Exp $
--- helpdeco.h.orig Wed May 9 05:48:55 2001
+++ helpdeco.h Wed May 9 06:04:46 2001
@@ -7,8 +7,8 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
-#include <conio.h>
#include <ctype.h>
+#include "compat.h"
#ifdef __TURBOC__
typedef struct { char a,b,c; } align;
@@ -588,7 +588,6 @@
MFILE;
extern void error(char *format,...);
-extern size_t strlcpy(char *dest,char *src,size_t len); /* limited string copy */
extern void *my_malloc(long bytes); /* save malloc function */
extern void *my_realloc(void *ptr,long bytes); /* save realloc function */
extern char *my_strdup(char *ptr); /* save strdup function */
@@ -651,4 +650,5 @@
extern void LinkDump(FILE *HelpFile);
extern void AnnotationDump(FILE *HelpFile,long FileLength,char *name);
+extern BOOL overwrite; /* ugly: declared in HELPDECO.C */
#endif