kern

diff src/klibc/stdlib.h @ 30:a2c6110bd24b

refactored the code a bit, and merged with the malloc implementation branch
author John Tsiombikas <nuclear@siggraph.org>
date Fri, 27 May 2011 22:09:10 +0300
parents 633e35c64772
children f83f50c17c3b
line diff
     1.1 --- a/src/klibc/stdlib.h	Sat Apr 23 00:51:18 2011 +0300
     1.2 +++ b/src/klibc/stdlib.h	Fri May 27 22:09:10 2011 +0300
     1.3 @@ -12,4 +12,8 @@
     1.4  void itoa(int val, char *buf, int base);
     1.5  void utoa(unsigned int val, char *buf, int base);
     1.6  
     1.7 +/* defined in malloc.c */
     1.8 +void *malloc(size_t sz);
     1.9 +void free(void *ptr);
    1.10 +
    1.11  #endif	/* STDLIB_H_ */