diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-25 16:05:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:13 -0500 |
commit | 7c30312c1734038825ac2e18fa2a32eb775d5c8d (patch) | |
tree | 0faa73cffa1beb185682a83d7deaf4103ea86d1b /source4/librpc/ndr/uuid.c | |
parent | 7f894169d9b1010f52ffb95ba24473f7e2dd8fd5 (diff) | |
download | samba-7c30312c1734038825ac2e18fa2a32eb775d5c8d.tar.gz samba-7c30312c1734038825ac2e18fa2a32eb775d5c8d.tar.bz2 samba-7c30312c1734038825ac2e18fa2a32eb775d5c8d.zip |
r25316: Remove last few instances of old BOOL type in librpc/.
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
Diffstat (limited to 'source4/librpc/ndr/uuid.c')
-rw-r--r-- | source4/librpc/ndr/uuid.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/librpc/ndr/uuid.c b/source4/librpc/ndr/uuid.c index dad65ee676..e92df22494 100644 --- a/source4/librpc/ndr/uuid.c +++ b/source4/librpc/ndr/uuid.c @@ -133,7 +133,7 @@ _PUBLIC_ struct GUID GUID_zero(void) return guid; } -_PUBLIC_ BOOL GUID_all_zero(const struct GUID *u) +_PUBLIC_ bool GUID_all_zero(const struct GUID *u) { if (u->time_low != 0 || u->time_mid != 0 || @@ -141,12 +141,12 @@ _PUBLIC_ BOOL GUID_all_zero(const struct GUID *u) u->clock_seq[0] != 0 || u->clock_seq[1] != 0 || !all_zero(u->node, 6)) { - return False; + return false; } - return True; + return true; } -_PUBLIC_ BOOL GUID_equal(const struct GUID *u1, const struct GUID *u2) +_PUBLIC_ bool GUID_equal(const struct GUID *u1, const struct GUID *u2) { if (u1->time_low != u2->time_low || u1->time_mid != u2->time_mid || @@ -154,9 +154,9 @@ _PUBLIC_ BOOL GUID_equal(const struct GUID *u1, const struct GUID *u2) u1->clock_seq[0] != u2->clock_seq[0] || u1->clock_seq[1] != u2->clock_seq[1] || memcmp(u1->node, u2->node, 6) != 0) { - return False; + return false; } - return True; + return true; } _PUBLIC_ int GUID_compare(const struct GUID *u1, const struct GUID *u2) @@ -221,7 +221,7 @@ _PUBLIC_ char *NS_GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) guid->node[4], guid->node[5]); } -_PUBLIC_ BOOL policy_handle_empty(struct policy_handle *h) +_PUBLIC_ bool policy_handle_empty(struct policy_handle *h) { return (h->handle_type == 0 && GUID_all_zero(&h->uuid)); } |