~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Brian Aker
  • Date: 2010-08-12 17:21:13 UTC
  • mfrom: (1689.5.5 remove_pthread_calls)
  • Revision ID: brian@tangent.org-20100812172113-i0ox868kcbzjim2h
Merge in removal of pthread dead wrappers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
33
33
#define ERRMSG_LVL_WARN 3
34
34
#define ERRMSG_LVL_ERROR 4
35
35
 
36
 
bool errmsg_printf(int priority, char const *format, ...)
37
 
  __attribute__((format(printf, 2, 3)));
 
36
// todo: add __attribute__((format(printf, 1, 2)))
 
37
bool errmsg_printf (int priority, char const *format, ...);
38
38
 
39
 
void sql_perror(const char *message);
 
39
void sql_perror (const char *message);
40
40
 
41
41
} /* namespace drizzled */
42
42