summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-10-16 22:08:55 +1100
committerDave Airlie <airlied@linux.ie>2007-10-16 22:08:55 +1100
commitefc4fd7c4dabed384fa1ab67e744d38025aff47d (patch)
tree0bf94db52c5d382962627268c12360f6a5185847 /libdrm
parenta69c85fec8ed323bffb1324ea08157b3897e97db (diff)
drm: rename drmBOUnReference to drmBOUnreference for consistency
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c2
-rw-r--r--libdrm/xf86mm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 7666d431..54268f24 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -2740,7 +2740,7 @@ int drmBOReference(int fd, unsigned handle, drmBO *buf)
return 0;
}
-int drmBOUnReference(int fd, drmBO *buf)
+int drmBOUnreference(int fd, drmBO *buf)
{
struct drm_bo_handle_arg arg;
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h
index d99e61e7..5f5f6f9f 100644
--- a/libdrm/xf86mm.h
+++ b/libdrm/xf86mm.h
@@ -181,7 +181,7 @@ extern int drmBOCreate(int fd, unsigned long size,
unsigned pageAlignment, void *user_buffer,
uint64_t mask, unsigned hint, drmBO *buf);
extern int drmBOReference(int fd, unsigned handle, drmBO *buf);
-extern int drmBOUnReference(int fd, drmBO *buf);
+extern int drmBOUnreference(int fd, drmBO *buf);
extern int drmBOMap(int fd, drmBO *buf, unsigned mapFlags, unsigned mapHint,
void **address);
extern int drmBOUnmap(int fd, drmBO *buf);