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

fix example
author mir3636
date Sun, 08 Apr 2018 20:55:21 +0900
parents 4c6926a2b9bc
children 420680fc7707
line wrap: on
line diff
--- a/CbC-examples/stack1.c	Sun Apr 01 14:05:45 2018 +0900
+++ b/CbC-examples/stack1.c	Sun Apr 08 20:55:21 2018 +0900
@@ -4,8 +4,9 @@
 
 //#include <stdio.h>
 #define NULL 0
+extern int printf(const char*, ...);
 
-extern void *malloc(int);
+extern void *malloc(size_t);
 
 typedef void *stack;