Fix build with gcc 3.4

This commit is contained in:
Tilman Keskinoz 2004-08-15 18:18:05 +00:00
parent 01e61c90ae
commit b628526bfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116301
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- src/exec.c.orig Sun Aug 15 19:57:08 2004
+++ src/exec.c Sun Aug 15 19:57:55 2004
@@ -108,6 +108,7 @@
{ 47031, 47031, 47031} //15 or
};
+void exec_execute_proc(struct s_proc *proc);
/**
main execution function.<br>

View File

@ -0,0 +1,10 @@
--- src/mc.c.orig Sun Aug 15 20:00:39 2004
+++ src/mc.c Sun Aug 15 20:01:11 2004
@@ -36,6 +36,7 @@
/*>>> here is the declaration of the turtle */
struct s_turtle my_turtle;
+void mc_free(void);
/**
Freeing and reinitializing all middle-code informations.<br>

View File

@ -0,0 +1,11 @@
--- src/parser.y.orig Sun Aug 15 19:59:37 2004
+++ src/parser.y Sun Aug 15 20:13:24 2004
@@ -30,6 +30,8 @@
#include "constant.h"
#include "variable.h"
+ void yyerror(char *error);
+
guint linecnt;
gchar *input_str;
guint curpos;