summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/r128_driver.c2
-rw-r--r--src/r128_probe.h2
-rw-r--r--src/radeon_driver.c2
-rw-r--r--src/radeon_probe.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 21f5d9d..1d7f7dc 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -165,7 +165,7 @@ static const OptionInfoRec R128Options[] = {
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};
-OptionInfoRec *R128OptionsWeak(void) { return R128Options; }
+const OptionInfoRec *R128OptionsWeak(void) { return R128Options; }
R128RAMRec R128RAM[] = { /* Memory Specifications
From RAGE 128 Software Development
diff --git a/src/r128_probe.h b/src/r128_probe.h
index aa4c547..38d585d 100644
--- a/src/r128_probe.h
+++ b/src/r128_probe.h
@@ -73,7 +73,7 @@ extern ModeStatus R128ValidMode
FunctionPrototype((int, DisplayModePtr, Bool,
int));
-extern OptionInfoRec * R128OptionsWeak
+extern const OptionInfoRec * R128OptionsWeak
FunctionPrototype((void));
extern void R128FillInScreenInfo
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index b2cd986..f4fdae1 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -210,7 +210,7 @@ static const OptionInfoRec RADEONOptions[] = {
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};
-OptionInfoRec *RADEONOptionsWeak(void) { return RADEONOptions; }
+const OptionInfoRec *RADEONOptionsWeak(void) { return RADEONOptions; }
static const char *vgahwSymbols[] = {
"vgaHWFreeHWRec",
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index 1cb38d1..a104cbc 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -175,7 +175,7 @@ extern ModeStatus RADEONValidMode
FunctionPrototype((int, DisplayModePtr, Bool,
int));
-extern OptionInfoRec * RADEONOptionsWeak
+extern const OptionInfoRec *RADEONOptionsWeak
FunctionPrototype((void));
extern void RADEONFillInScreenInfo