Mercurial > hg > CbC > CbC_gcc
diff CbC-examples/tmp2.c @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 4c56639505ff |
children |
line wrap: on
line diff
--- a/CbC-examples/tmp2.c Wed Apr 11 18:46:58 2018 +0900 +++ b/CbC-examples/tmp2.c Wed Apr 11 19:32:28 2018 +0900 @@ -4,8 +4,8 @@ #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); +__code code0(char *av[],__code (*ret)(int, void*),void *retenv); +__code code1(char *av[],__code (*ret)(int, void*),void *retenv); int main(ac,av) @@ -29,7 +29,7 @@ __code code0(av,ret,retenv) char *av[]; -__code (*ret)(); +__code (*ret)(int, void*); void *retenv; { char *p; @@ -40,7 +40,7 @@ __code code1(av,ret,retenv) char *av[]; -__code (*ret)(); +__code (*ret)(int, void*); void *retenv; { fprintf(stdout,"#0041:4: %s\n",av[0]);