summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/xmlconfig.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-18 17:18:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-18 17:18:43 +0000
commit97fcc0e77b55f2d11a4fe34fbe71605d0550e6c8 (patch)
treeed18b4a46e5887fa38d5208d1ea1fa6d1a37b3d7 /src/mesa/drivers/dri/common/xmlconfig.c
parent5b9a9d46d4a55a70cebbe238ac712631013b680b (diff)
make second param of driParseConfigFiles() const
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlconfig.c')
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c
index f45ab06ac4..f5e07de4ed 100644
--- a/src/mesa/drivers/dri/common/xmlconfig.c
+++ b/src/mesa/drivers/dri/common/xmlconfig.c
@@ -837,7 +837,7 @@ static void optConfEndElem (void *userData, const XML_Char *name) {
}
/** \brief Initialize an option cache based on info */
-static void initOptionCache (driOptionCache *cache, driOptionCache *info) {
+static void initOptionCache (driOptionCache *cache, const driOptionCache *info) {
cache->info = info->info;
cache->tableSize = info->tableSize;
cache->values = MALLOC ((1<<info->tableSize) * sizeof (driOptionValue));
@@ -888,7 +888,7 @@ static void parseOneConfigFile (XML_Parser p) {
#undef BUF_SIZE
}
-void driParseConfigFiles (driOptionCache *cache, driOptionCache *info,
+void driParseConfigFiles (driOptionCache *cache, const driOptionCache *info,
GLint screenNum, const char *driverName) {
char *filenames[2] = {"/etc/drirc", NULL};
char *home;