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

bool in C.
parent 045f3c4a
...@@ -107,7 +107,7 @@ char *get_tty_password(const char *opt_message) ...@@ -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;
......
...@@ -98,7 +98,7 @@ void thr_end_alarm(thr_alarm_t *alarmed); ...@@ -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
......
...@@ -25,7 +25,7 @@ ...@@ -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)
{ {
......
...@@ -118,7 +118,7 @@ char *get_tty_password(const char *opt_message) ...@@ -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;
......
...@@ -632,7 +632,7 @@ my_bool thr_alarm(thr_alarm_t *alrm, uint sec, ALARM *alarm) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment