mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
13 lines
326 B
C
13 lines
326 B
C
/* 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
|