summaryrefslogtreecommitdiff
path: root/dbug/sanity.c
blob: d287a468028f3db1da2565f82ce1aef4cfbdf51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Declarate _sanity() if not declared in main program */

#include <global.h>

extern int _sanity(const char *file,uint line);

#if defined(SAFEMALLOC) && !defined(MASTER)	/* Avoid errors in MySQL */
int _sanity(const char * file __attribute__((unused)),
            uint line __attribute__((unused)))
{
  return 0;
}
#endif