home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / auucp+-1.02 / fuucp_news_src.lzh / cnews / include / alloc.h next >
Encoding:
C/C++ Source or Header  |  1990-11-21  |  602 b   |  20 lines

  1. #ifndef ALLOC_H
  2. #define ALLOC_H
  3.  
  4. #ifndef notdef
  5. extern char *malloc(), *realloc(), *emalloc();
  6. extern char *nemalloc(), *strsave(), *str3save();
  7. #else                /* notdef */
  8. /* setup for UT debugging malloc */
  9. #define MALLOC_TRACE
  10. #define TRACE
  11. #include "malloc.h"        /* defines CSRIMALLOC */
  12. extern char *_nemalloc(), *_strsave(), *_str3save();
  13. #define nemalloc(x)        _nemalloc((x), __FILE__, __LINE__)
  14. #define strsave(x)        _strsave((x), __FILE__, __LINE__)    /* TODO: conflict with ma
  15. loc.h; fix */
  16. #define str3save(x, y, z)    _str3save((x), y, z, __FILE__, __LINE__)
  17. #endif                /* notdef */
  18.  
  19. #endif                /* ALLOC_H */
  20.