home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 January / Chip_2001-01_cd1.bin / tema / mysql / mysql-3.23.28g-win-source.exe / dbug / sanity.c < prev    next >
C/C++ Source or Header  |  2000-08-31  |  326b  |  14 lines

  1. /* Declarate _sanity() if not declared in main program */
  2.  
  3. #include <global.h>
  4.  
  5. extern int _sanity(const char *file,uint line);
  6.  
  7. #if defined(SAFEMALLOC) && !defined(MASTER)    /* Avoid errors in MySQL */
  8. int _sanity(const char * file __attribute__((unused)),
  9.             uint line __attribute__((unused)))
  10. {
  11.   return 0;
  12. }
  13. #endif
  14.