mariadb/dbug/sanity.c

14 lines
329 B
C
Raw Normal View History

2000-07-31 21:29:14 +02:00
/* Declarate _sanity() if not declared in main program */
#include <my_global.h>
2000-07-31 21:29:14 +02:00
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