24 lines
425 B
Plaintext
24 lines
425 B
Plaintext
$NetBSD: patch-ak,v 1.1 2005/12/06 15:57:22 joerg Exp $
|
|
|
|
--- lex.l.orig 1988-10-23 13:20:00.000000000 +0000
|
|
+++ lex.l
|
|
@@ -44,6 +44,10 @@ static char *sccsid = "@(#)lex.l 3.8 1/2
|
|
char *dequote();
|
|
char *stash();
|
|
|
|
+#ifdef X_NOT_STDC_ENV
|
|
+char *malloc();
|
|
+#endif
|
|
+
|
|
%}
|
|
W [ \t]+
|
|
%%
|
|
@@ -81,7 +85,6 @@ char *stash(s)
|
|
char *s;
|
|
{
|
|
char *ptr;
|
|
- char *malloc();
|
|
|
|
ptr = malloc(strlen(s) + 1);
|
|
if (ptr == NULL) {
|