pkgsrc/textproc/detex/patches/patch-ab
2008-11-20 02:19:26 +00:00

24 lines
540 B
Text

$NetBSD: patch-ab,v 1.2 2008/11/20 02:19:26 chuck Exp $
--- detex.l.orig 2008-11-19 20:20:18.000000000 -0500
+++ detex.l 2008-11-19 20:20:54.000000000 -0500
@@ -59,9 +59,7 @@
#ifndef MAXPATHLEN
#include <sys/param.h>
#endif
-#ifdef OS2
#include <stdlib.h>
-#endif
#define LaBEGIN if (fLatex) BEGIN
#define IGNORE if (fSpace && !fWord) putchar(' ')
@@ -73,9 +71,6 @@
#define CITE(x) if (fLatex && !fCite) KILLARGS(x)
char *SafeMalloc();
-#ifndef NO_MALLOC_DECL
-char *malloc();
-#endif
#ifdef OS2
void yyless(int);
#endif