From 30191d1a5704ad2b158386b511558972d539ce47 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 Oct 2007 17:40:25 -0700 Subject: RIP BOOL. Convert BOOL -> bool. I found a few interesting bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f) --- source3/intl/lang_tdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/intl') diff --git a/source3/intl/lang_tdb.c b/source3/intl/lang_tdb.c index 14b075e6d7..e2e708332d 100644 --- a/source3/intl/lang_tdb.c +++ b/source3/intl/lang_tdb.c @@ -26,7 +26,7 @@ static char *current_lang; /* load a msg file into the tdb */ -static BOOL load_msg(const char *msg_file) +static bool load_msg(const char *msg_file) { char **lines; int num_lines, i; @@ -93,14 +93,14 @@ static const char *get_lang(void) /* initialise the message translation subsystem. If the "lang" argument is NULL then get the language from the normal environment variables */ -BOOL lang_tdb_init(const char *lang) +bool lang_tdb_init(const char *lang) { char *path = NULL; char *msg_path = NULL; struct stat st; static int initialised; time_t loadtime; - BOOL result = False; + bool result = False; /* we only want to init once per process, unless given an override */ -- cgit