home *** CD-ROM | disk | FTP | other *** search
/ MACD 4 / MACD4.iso / Emulatory / AROS / include / clib / aros_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1978-03-06  |  828 b   |  44 lines

  1. #ifndef  CLIB_AROS_PROTOS_H
  2. #define  CLIB_AROS_PROTOS_H
  3.  
  4. /*
  5. **    $VER: aros_protos.h 1.0 (26.10.95)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. */
  10.  
  11. #ifndef  EXEC_TYPES_H
  12. #   include <exec/types.h>
  13. #endif
  14. #ifndef AROS_AROSBASE_H
  15. #   include <aros/arosbase.h>
  16. #endif
  17. #ifndef EXEC_EXECBASE_H
  18. #   include <exec/execbase.h>
  19. #endif
  20.  
  21. #ifdef DEBUG_FreeMem
  22. #   ifndef CLIB_EXEC_PROTOS_H
  23. #    include <clib/exec_protos.h>
  24. #   endif
  25. #   if DEBUG_FreeMem
  26. #    undef FreeMem
  27. #    define FreeMem NastyFreeMem
  28. #   endif
  29. #endif
  30.  
  31. extern struct ExecBase * Sysbase;
  32.  
  33. /*
  34.     Prototypes
  35. */
  36. ULONG    CalcChecksum (APTR mem, ULONG size);
  37. int    kprintf      (const UBYTE *, ...);
  38. void    NastyFreeMem (APTR, ULONG);
  39. APTR    RemoveSList  (APTR *, APTR);
  40.  
  41. #define kprintf     (((struct AROSBase *)(SysBase->DebugData))->kprintf)
  42.  
  43. #endif /* CLIB_AROS_PROTOS_H */
  44.