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

#include <my_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