~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to dbug/sanity.c

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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