Mercurial > hg > CbC > CbC_gcc
comparison CbC-examples/test1.c @ 126:5d30d517ebed
fix example
author | mir3636 |
---|---|
date | Sun, 08 Apr 2018 20:55:21 +0900 |
parents | 365b84b6fe04 |
children |
comparison
equal
deleted
inserted
replaced
125:2c7bdd5a49f6 | 126:5d30d517ebed |
---|---|
5 test for CbC converted __code from C | 5 test for CbC converted __code from C |
6 */ | 6 */ |
7 | 7 |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 | 9 |
10 extern void *malloc(int); | 10 extern void *malloc(size_t); |
11 | 11 |
12 typedef void *stack; | 12 typedef void *stack; |
13 | 13 |
14 void *stack0; /* size of void* == 1 */ | 14 void *stack0; /* size of void* == 1 */ |
15 | 15 |