~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Monty Taylor
  • Date: 2010-11-25 01:53:19 UTC
  • mto: (1953.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1955.
  • Revision ID: mordred@inaugust.com-20101125015319-ia85msn25uemopgc
Re-enabled -Wformat and then cleaned up the carnage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#define ERRMSG_LVL_WARN 3
34
34
#define ERRMSG_LVL_ERROR 4
35
35
 
36
 
// todo: add __attribute__((format(printf, 1, 2)))
37
 
bool errmsg_printf (int priority, char const *format, ...);
 
36
bool errmsg_printf(int priority, char const *format, ...)
 
37
  __attribute__((format(printf, 2, 3)));
38
38
 
39
 
void sql_perror (const char *message);
 
39
void sql_perror(const char *message);
40
40
 
41
41
} /* namespace drizzled */
42
42