summaryrefslogtreecommitdiff
path: root/wm/uwm/patches/patch-ak
blob: e64838efc88e540536260d885aa3128174e37cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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) {