summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorguilhem@gbichot4.local <>2008-02-19 18:45:11 +0100
committerguilhem@gbichot4.local <>2008-02-19 18:45:11 +0100
commit3fe6684c487e0a03d43666bff1a3813fef0562c5 (patch)
treead9d397d605c9c610e9016051ee4cc0e7fad479e /libmysql
parent045f3c4a5d92dc0acd43db6c5248a69cb421cfcb (diff)
downloadmariadb-git-3fe6684c487e0a03d43666bff1a3813fef0562c5.tar.gz
fixes for build failures due to my yesterday's changeset forbidding
bool in C.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/dll.c2
-rw-r--r--libmysql/get_password.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/dll.c b/libmysql/dll.c
index f5db0bb4669..7aa3b5bf96f 100644
--- a/libmysql/dll.c
+++ b/libmysql/dll.c
@@ -25,7 +25,7 @@
#include <my_sys.h>
#include <my_pthread.h>
-static bool libmysql_inited=0;
+static my_bool libmysql_inited=0;
void libmysql_init(void)
{
diff --git a/libmysql/get_password.c b/libmysql/get_password.c
index 4c251677a66..cbe5fce6949 100644
--- a/libmysql/get_password.c
+++ b/libmysql/get_password.c
@@ -118,7 +118,7 @@ char *get_tty_password(const char *opt_message)
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;