comparison CbC-examples/stack1.c @ 126:5d30d517ebed

fix example
author mir3636
date Sun, 08 Apr 2018 20:55:21 +0900
parents 4c6926a2b9bc
children 420680fc7707
comparison
equal deleted inserted replaced
125:2c7bdd5a49f6 126:5d30d517ebed
2 test for CbC converted __code from C 2 test for CbC converted __code from C
3 */ 3 */
4 4
5 //#include <stdio.h> 5 //#include <stdio.h>
6 #define NULL 0 6 #define NULL 0
7 extern int printf(const char*, ...);
7 8
8 extern void *malloc(int); 9 extern void *malloc(size_t);
9 10
10 typedef void *stack; 11 typedef void *stack;
11 12
12 void *stack0; /* size of void* == 1 */ 13 void *stack0; /* size of void* == 1 */
13 14