diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f (patch) | |
tree | 1bc44df77ea5bb85a1e8bff698a583f3a3f43fc5 /source/intl | |
parent | ea3173a9457f9095a70d401abfd1af8c913211a0 (diff) | |
download | samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.tar.gz |
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.
Diffstat (limited to 'source/intl')
-rw-r--r-- | source/intl/lang_tdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/intl/lang_tdb.c b/source/intl/lang_tdb.c index 14b075e6d75..e2e708332da 100644 --- a/source/intl/lang_tdb.c +++ b/source/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 */ |