summaryrefslogtreecommitdiff
path: root/lang/cim/patches/patch-src_genexp.c
blob: 0d9fac2b74aa502b0853b1353f1a1c69bebeb09b (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-src_genexp.c,v 1.1 2012/10/26 20:37:15 joerg Exp $

--- src/genexp.c.orig	2012-10-26 13:04:17.000000000 +0000
+++ src/genexp.c
@@ -20,6 +20,8 @@
 #include "gen.h"
 #include "extspec.h"
 
+#include <string.h>
+
 int stack;
 static int anttext;
 int inthunk;			/* Brukes i forbindelse med uttrykk i
@@ -196,8 +198,7 @@ genmodulemark(maintimestamp) char *maint
 /******************************************************************************
                                                                 GENVALUE     */
 
-genvalue (re)
-     struct EXP *re;
+void genvalue (struct EXP *re)
 {
   struct EXP *rex;
   static struct EXP *ree;