~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_malloc.cc

Fixed -Wmissing-declarations

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <drizzled/error.h>
22
22
 
23
23
extern "C" {
24
 
  void sql_alloc_error_handler(void)
25
 
  {
26
 
    errmsg_printf(ERRMSG_LVL_ERROR, "%s",ER(ER_OUT_OF_RESOURCES));
27
 
  }
 
24
  void sql_alloc_error_handler(void);
 
25
}
 
26
 
 
27
void sql_alloc_error_handler(void)
 
28
{
 
29
  errmsg_printf(ERRMSG_LVL_ERROR, "%s",ER(ER_OUT_OF_RESOURCES));
28
30
}
29
31
 
30
32
void init_sql_alloc(MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc)