summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-12-17 16:00:34 -0600
committerKevin Brace <kevinbrace@gmx.com>2019-01-27 21:07:45 -0800
commitced64e1325c04aa079d7cef185bb157e4975dc21 (patch)
tree7815c79d776b6333eadd8b817a2446b7e9652d3d /src
parent6e780e5870282ba871e575c5a1f1337fa385df47 (diff)
Use const char for xf86GetOptValString return type
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src')
-rw-r--r--src/apm_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apm_driver.c b/src/apm_driver.c
index ece599e..92da51c 100644
--- a/src/apm_driver.c
+++ b/src/apm_driver.c
@@ -355,7 +355,8 @@ ApmPreInit(ScrnInfoPtr pScrn, int flags)
EntityInfoPtr pEnt;
vgaHWPtr hwp;
MessageType from;
- char *mod = NULL, *req = NULL, *s;
+ char *mod = NULL, *req = NULL;
+ const char *s;
ClockRangePtr clockRanges;
int i;
xf86MonPtr MonInfo = NULL;