From 198ad4df31e5e4ab177d0abb851cb5c0c527f8d4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 7 Jul 2011 18:18:38 +1000 Subject: [PATCH] s3-lib use True and False in bitmap.c --- source3/lib/bitmap.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source3/lib/bitmap.c b/source3/lib/bitmap.c index 5216b05c585..a58b9e953b0 100644 --- a/source3/lib/bitmap.c +++ b/source3/lib/bitmap.c @@ -64,10 +64,10 @@ bool bitmap_set(struct bitmap *bm, unsigned i) if (i >= bm->n) { DEBUG(0,("Setting invalid bitmap entry %d (of %d)\n", i, bm->n)); - return False; + return false; } bm->b[i/32] |= (1<<(i%32)); - return True; + return true; } /**************************************************************************** @@ -78,10 +78,10 @@ bool bitmap_clear(struct bitmap *bm, unsigned i) if (i >= bm->n) { DEBUG(0,("clearing invalid bitmap entry %d (of %d)\n", i, bm->n)); - return False; + return false; } bm->b[i/32] &= ~(1<<(i%32)); - return True; + return true; } /**************************************************************************** @@ -89,11 +89,11 @@ query a bit in a bitmap ****************************************************************************/ bool bitmap_query(struct bitmap *bm, unsigned i) { - if (i >= bm->n) return False; + if (i >= bm->n) return false; if (bm->b[i/32] & (1<<(i%32))) { - return True; + return true; } - return False; + return false; } /****************************************************************************