radeong: Use TRUE and FALSE.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 20 Mar 2010 23:15:36 +0000 (16:15 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sat, 20 Mar 2010 23:16:11 +0000 (16:16 -0700)
src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c

index 2f7456e12ddfda2d111e95079d3e7fbd335ee781..2472b6bf9522a79f2193ef7fbfd9da5a78094695 100644 (file)
@@ -287,7 +287,7 @@ boolean radeon_drm_bufmgr_get_handle(struct pb_buffer *_buf,
 
            retval = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink);
            if (retval) {
-               return false;
+               return FALSE;
            }
 
            buf->flinked = TRUE;
@@ -329,7 +329,7 @@ boolean radeon_drm_bufmgr_add_buffer(struct pb_buffer *_buf,
     struct radeon_drm_buffer *buf = get_drm_buffer(_buf);
     radeon_cs_space_add_persistent_bo(buf->mgr->rws->cs, buf->bo,
                                          rd, wd);
-    return true;
+    return TRUE;
 }
 
 void radeon_drm_bufmgr_write_reloc(struct pb_buffer *_buf,