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/utils/status.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/utils/status.c') diff --git a/source3/utils/status.c b/source3/utils/status.c index 96f4ae6888..d5e482f6fb 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -41,14 +41,14 @@ static unsigned int Ucrit_IsActive = 0; /* added by OH */ static int verbose, brief; static int shares_only = 0; /* Added by RJS */ static int locks_only = 0; /* Added by RJS */ -static BOOL processes_only=False; +static bool processes_only=False; static int show_brl; -static BOOL numeric_only = False; +static bool numeric_only = False; const char *username = NULL; -extern BOOL status_profile_dump(BOOL be_verbose); -extern BOOL status_profile_rates(BOOL be_verbose); +extern bool status_profile_dump(bool be_verbose); +extern bool status_profile_rates(bool be_verbose); /* added by OH */ static void Ucrit_addUid(uid_t uid) @@ -83,7 +83,7 @@ static unsigned int Ucrit_checkPid(struct server_id pid) return 0; } -static BOOL Ucrit_addPid( struct server_id pid ) +static bool Ucrit_addPid( struct server_id pid ) { if ( !Ucrit_IsActive ) return True; @@ -277,7 +277,7 @@ static int traverse_sessionid(struct db_record *db, void *state) { int c; int profile_only = 0; - BOOL show_processes, show_locks, show_shares; + bool show_processes, show_locks, show_shares; poptContext pc; struct poptOption long_options[] = { POPT_AUTOHELP -- cgit