diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | 30191d1a5704ad2b158386b511558972d539ce47 (patch) | |
tree | 4f46e5c4f28f672ab661aa18f45745860970a88c /source3/utils/status.c | |
parent | 789856f63ff73fec66298e95c91c60db7bdaf14e (diff) | |
download | samba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz samba-30191d1a5704ad2b158386b511558972d539ce47.tar.bz2 samba-30191d1a5704ad2b158386b511558972d539ce47.zip |
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/utils/status.c')
-rw-r--r-- | source3/utils/status.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 |