summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2009-12-08 17:42:49 +0100
committerRoland Scheidegger <sroland@vmware.com>2009-12-08 19:58:28 +0100
commitfd7a9ec7f97d540d22f546d96c3d1c808f163bba (patch)
tree719f6391c2a3e7aa2717b6f3aaecacd4e0bf153b /src/gallium/include
parent4ebc54795dc93f7eee200312abfa2da1b49506e3 (diff)
gallium: use boolean instead of bool in p_refcnt.h
all code in gallium should use boolean not bool
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_refcnt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_refcnt.h b/src/gallium/include/pipe/p_refcnt.h
index f1875b6b82..e252f55900 100644
--- a/src/gallium/include/pipe/p_refcnt.h
+++ b/src/gallium/include/pipe/p_refcnt.h
@@ -51,7 +51,7 @@ pipe_reference_init(struct pipe_reference *reference, unsigned count)
}
-static INLINE bool
+static INLINE boolean
pipe_is_referenced(struct pipe_reference *reference)
{
return p_atomic_read(&reference->count) != 0;
@@ -63,10 +63,10 @@ pipe_is_referenced(struct pipe_reference *reference)
* The old thing pointed to, if any, will be unreferenced.
* Both 'ptr' and 'reference' may be NULL.
*/
-static INLINE bool
+static INLINE boolean
pipe_reference(struct pipe_reference *ptr, struct pipe_reference *reference)
{
- bool destroy = FALSE;
+ boolean destroy = FALSE;
if(ptr != reference) {
/* bump the reference.count first */