Use const char for xf86GetOptValString return type

Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
This commit is contained in:
Kevin Brace
2018-12-25 08:34:30 -06:00
parent 1069d52aa4
commit b32b125e91
2 changed files with 2 additions and 2 deletions

View File

@@ -456,7 +456,7 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
int i;
int depth_flags;
ClockRangePtr clockRanges;
char *s;
const char *s;
xf86Int10InfoPtr pInt = NULL;
if (flags & PROBE_DETECT) {

View File

@@ -319,7 +319,7 @@ LgPreInit(ScrnInfoPtr pScrn, int flags)
int i;
ClockRangePtr clockRanges;
int fbPCIReg, ioPCIReg;
char *s;
const char *s;
if (flags & PROBE_DETECT) {
cirProbeDDC( pScrn, xf86GetEntityInfo(pScrn->entityList[0])->index );