~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_messnc.c

  • Committer: Brian Aker
  • Date: 2008-07-16 01:30:24 UTC
  • Revision ID: brian@tangent.org-20080716013024-nmnogwdpa459jrch
First pass of cleanup

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(uint32_t error __attribute__((unused)),
 
18
void my_message_no_curses(uint 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));
21
23
  (void) fflush(stdout);
22
24
  if (MyFlags & ME_BELL)
23
25
    (void) fputc('\007',stderr);                                /* Bell */
28
30
  (void)fputs(str,stderr);
29
31
  (void)fputc('\n',stderr);
30
32
  (void)fflush(stderr);
31
 
  return;
 
33
  DBUG_VOID_RETURN;
32
34
}