summaryrefslogtreecommitdiff
path: root/source/profile
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
committerJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
commitf35a266b3cbb3e5fa6a86be60f34fe340a3ca71f (patch)
tree1bc44df77ea5bb85a1e8bff698a583f3a3f43fc5 /source/profile
parentea3173a9457f9095a70d401abfd1af8c913211a0 (diff)
downloadsamba-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/profile')
-rw-r--r--source/profile/profile.c10
1 files changed, 5 insertions, 5 deletions
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;