[xf86-video-apm,2/4] Use const char for xf86GetOptValString return type

Submitted by Kevin Brace on Dec. 17, 2018, 10 p.m.

Details

Message ID 1545084036-32413-2-git-send-email-kevinbrace@gmx.com
State Accepted
Commit ced64e1325c04aa079d7cef185bb157e4975dc21
Headers show
Series "Series without cover letter" ( rev: 1 ) in X.org

Not browsing as part of any series.

Commit Message

Kevin Brace Dec. 17, 2018, 10 p.m.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
---
 src/apm_driver.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;