1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

fixes for build failures due to my yesterday's changeset forbidding

bool in C.


client/get_password.c:
  fix for build failure
include/thr_alarm.h:
  fix for build failure
libmysql/dll.c:
  fix for build failure
libmysql/get_password.c:
  fix for build failure
mysys/thr_alarm.c:
  fix for build failure
This commit is contained in:
unknown
2008-02-19 18:45:11 +01:00
parent ae25da10a3
commit 205d448b01
5 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ char *get_tty_password(const char *opt_message)
* to will not include the eol characters. * to will not include the eol characters.
*/ */
static void get_password(char *to,uint length,int fd,bool echo) static void get_password(char *to,uint length,int fd, my_bool echo)
{ {
char *pos=to,*end=to+length; char *pos=to,*end=to+length;

View File

@ -98,7 +98,7 @@ void thr_end_alarm(thr_alarm_t *alarmed);
void end_thr_alarm(my_bool free_structures); void end_thr_alarm(my_bool free_structures);
sig_handler process_alarm(int); sig_handler process_alarm(int);
#ifndef thr_got_alarm #ifndef thr_got_alarm
bool thr_got_alarm(thr_alarm_t *alrm); my_bool thr_got_alarm(thr_alarm_t *alrm);
#endif #endif

View File

@ -25,7 +25,7 @@
#include <my_sys.h> #include <my_sys.h>
#include <my_pthread.h> #include <my_pthread.h>
static bool libmysql_inited=0; static my_bool libmysql_inited=0;
void libmysql_init(void) void libmysql_init(void)
{ {

View File

@ -118,7 +118,7 @@ char *get_tty_password(const char *opt_message)
to will not include the eol characters. to will not include the eol characters.
*/ */
static void get_password(char *to,uint length,int fd,bool echo) static void get_password(char *to,uint length,int fd, my_bool echo)
{ {
char *pos=to,*end=to+length; char *pos=to,*end=to+length;

View File

@ -632,7 +632,7 @@ my_bool thr_alarm(thr_alarm_t *alrm, uint sec, ALARM *alarm)
} }
bool thr_got_alarm(thr_alarm_t *alrm_ptr) my_bool thr_got_alarm(thr_alarm_t *alrm_ptr)
{ {
thr_alarm_t alrm= *alrm_ptr; thr_alarm_t alrm= *alrm_ptr;
MSG msg; MSG msg;