summaryrefslogtreecommitdiff
path: root/source3/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
commit30191d1a5704ad2b158386b511558972d539ce47 (patch)
tree4f46e5c4f28f672ab661aa18f45745860970a88c /source3/profile
parent789856f63ff73fec66298e95c91c60db7bdaf14e (diff)
downloadsamba-30191d1a5704ad2b158386b511558972d539ce47.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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index cf2bd9ee36a..50751d546ec 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;