pkgsrc/textproc/detex/patches/patch-ab

25 lines
573 B
Text
Raw Normal View History

2006-01-02 11:33:28 +01:00
$NetBSD: patch-ab,v 1.1 2006/01/02 10:33:28 joerg Exp $
--- detex.l.orig 1999-05-12 17:45:53.000000000 +0000
+++ detex.l
@@ -27,9 +27,7 @@ static char rcsid[] = "$Header: /p/src/l
#ifndef MAXPATHLEN
#include <sys/param.h>
#endif
-#ifdef OS2
#include <stdlib.h>
-#endif
#define LaBEGIN if (fLatex) BEGIN
#define CITEBEGIN if (fLatex && !fCite) BEGIN
@@ -38,9 +36,6 @@ static char rcsid[] = "$Header: /p/src/l
#define NEWLINE if (!fWord) putchar('\n')
char *SafeMalloc();
-#ifndef NO_MALLOC_DECL
-char *malloc();
-#endif
#ifdef OS2
void yyless(int);
#endif