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/profile/profile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/profile') diff --git a/source3/profile/profile.c b/source3/profile/profile.c index cf2bd9ee36..50751d546e 100644 --- a/source3/profile/profile.c +++ b/source3/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