From f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f 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. --- source/profile/profile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/profile') diff --git a/source/profile/profile.c b/source/profile/profile.c index cf2bd9ee36a..50751d546ec 100644 --- a/source/profile/profile.c +++ b/source/profile/profile.c @@ -27,18 +27,18 @@ #ifdef WITH_PROFILE static int shm_id; -static BOOL read_only; +static bool read_only; #if defined(HAVE_CLOCK_GETTIME) clockid_t __profile_clock; -BOOL have_profiling_clock = False; +bool have_profiling_clock = False; #endif #endif struct profile_header *profile_h; struct profile_stats *profile_p; -BOOL do_profile_flag = False; -BOOL do_profile_times = False; +bool do_profile_flag = False; +bool do_profile_times = False; /**************************************************************************** Set a profiling level. @@ -196,7 +196,7 @@ static void init_clock_gettime(void) } #endif -BOOL profile_setup(struct messaging_context *msg_ctx, BOOL rdonly) +bool profile_setup(struct messaging_context *msg_ctx, bool rdonly) { struct shmid_ds shm_ds; -- cgit