~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_messnc.c

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include "mysys_priv.h"
17
17
 
18
 
void my_message_no_curses(uint error __attribute__((unused)),
 
18
void my_message_no_curses(uint32_t error __attribute__((unused)),
19
19
                         const char *str, myf MyFlags)
20
20
{
21
 
  DBUG_ENTER("my_message_no_curses");
22
 
  DBUG_PRINT("enter",("message: %s",str));
23
21
  (void) fflush(stdout);
24
22
  if (MyFlags & ME_BELL)
25
23
    (void) fputc('\007',stderr);                                /* Bell */
30
28
  (void)fputs(str,stderr);
31
29
  (void)fputc('\n',stderr);
32
30
  (void)fflush(stderr);
33
 
  DBUG_VOID_RETURN;
 
31
  return;
34
32
}