/* *----------------------------------------------------------------------------- * * stdlib.h -- * * Subset of ISO C's stdlib.h. * *----------------------------------------------------------------------------- */ #ifndef _STDLIB_H #define _STDLIB_H #define NULL 0 #define MIN(x,y) ((x < y) ? x : y) typedef unsigned long size_t; extern void *malloc (size_t amt) __attribute__ ((malloc)); extern void free (void *mem); extern void *realloc (void *mem, size_t amt) __attribute__ ((malloc)); #endif /* !_STDLIB_H */