~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to dbug/sanity.c

Removed dead variable, sorted authors file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Declarate _sanity() if not declared in main program */
 
2
 
 
3
#include <my_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