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

Kevin Brace kevinbrace at gmx.com
Mon Dec 17 22:00:34 UTC 2018


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/apm_driver.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
-- 
2.7.4



More information about the xorg-devel mailing list