1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* */ #ifndef __zalloc_h #define __zalloc_h __FILE__ #ifdef MPROF #define zalloc(sz) malloc(sz) #define zfree(p,sz) free(p) #else #ifdef __STDC__ # define P(s) s #else # define P(s) () #endif /* STDC */ extern void * zalloc P((unsigned int)); extern void zfree P((void *, unsigned int)); #undef P #endif /* MPROF */ #endif /* __zalloc_h */