diff CbC-examples/tmp2.c @ 126:5d30d517ebed

fix example
author mir3636
date Sun, 08 Apr 2018 20:55:21 +0900
parents 365b84b6fe04
children 4c56639505ff
line wrap: on
line diff
--- a/CbC-examples/tmp2.c	Sun Apr 01 14:05:45 2018 +0900
+++ b/CbC-examples/tmp2.c	Sun Apr 08 20:55:21 2018 +0900
@@ -3,6 +3,10 @@
 
 #include "stdio.h"
 
+int main0(int ac,char *av[]);
+__code code0(char *av[],__code (*ret)(int),void *retenv);
+__code code1(char *av[],__code (*ret)(int),void *retenv);
+
 int
 main(ac,av)
 int ac;
@@ -20,7 +24,7 @@
 char *av[];
 {
     fprintf(stdout,"#0021:2: %s\n",av[0]);
-    goto code0(av,__return,__environment);
+    goto code0(av,__CbC_return,__CbC_environment);
 }
 
 __code code0(av,ret,retenv)