summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-05-10 00:22:06 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-05-10 00:22:06 +0000
commit35462dc5febab904ce23d9a453df7c8adc9b13f1 (patch)
tree9da01e7c4367dcc8b37ce4d64560a477db6fd739
parent01836824d5b3dd4833573ebf3f98ed4cfb9cd5b3 (diff)
added a const in drmCopyVersion() declaration
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 3b66c19a..ef970d24 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -302,7 +302,7 @@ static void drmFreeKernelVersion(drm_version_t *v)
drmFree(v);
}
-static void drmCopyVersion(drmVersionPtr d, drm_version_t *s)
+static void drmCopyVersion(drmVersionPtr d, const drm_version_t *s)
{
d->version_major = s->version_major;
d->version_minor = s->version_minor;