From cd89d71aff979a362c8102dd4154f2bfa342e431 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Wed, 10 Sep 1997 22:48:45 +0200
Subject: [PATCH] Added kludge-prototype for internal bison-function
 __yy_memcpy().

Rev: src/language.yacc:1.47
---
 src/language.yacc | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/language.yacc b/src/language.yacc
index d5199d746b..09ad90ed65 100644
--- a/src/language.yacc
+++ b/src/language.yacc
@@ -156,7 +156,7 @@
 /* This is the grammar definition of Pike. */
 
 #include "global.h"
-RCSID("$Id: language.yacc,v 1.46 1997/08/30 18:35:36 grubba Exp $");
+RCSID("$Id: language.yacc,v 1.47 1997/09/10 20:48:45 grubba Exp $");
 #ifdef HAVE_MEMORY_H
 #include <memory.h>
 #endif
@@ -205,6 +205,15 @@ void fix_comp_stack(int sp)
   }
 }
 
+/*
+ * Kludge for Bison not using prototypes.
+ */
+#ifndef __GNUC__
+#ifndef __cplusplus
+static void __yy_memcpy(char *to, char *from, int count)
+#endif /* !__cplusplus */
+#endif /* !__GNUC__ */
+
 %}
 
 %union
-- 
GitLab