hw/xfree86: More const declarations for strings

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Keith Packard 2013-11-15 18:07:54 +09:00
parent 644725ac5e
commit d6da9f23cc
2 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ extern _X_EXPORT ModeStatus
xf86CheckModeForDriver(ScrnInfoPtr scrp, DisplayModePtr mode, int flags); xf86CheckModeForDriver(ScrnInfoPtr scrp, DisplayModePtr mode, int flags);
extern _X_EXPORT int extern _X_EXPORT int
xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr availModes, xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr availModes,
char **modeNames, ClockRangePtr clockRanges, const char **modeNames, ClockRangePtr clockRanges,
int *linePitches, int minPitch, int maxPitch, int *linePitches, int minPitch, int maxPitch,
int minHeight, int maxHeight, int pitchInc, int minHeight, int maxHeight, int pitchInc,
int virtualX, int virtualY, int apertureSize, int virtualX, int virtualY, int apertureSize,

View File

@ -1354,7 +1354,7 @@ scanLineWidth(unsigned int xsize, /* pixels */
int int
xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr availModes, xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr availModes,
char **modeNames, ClockRangePtr clockRanges, const char **modeNames, ClockRangePtr clockRanges,
int *linePitches, int minPitch, int maxPitch, int pitchInc, int *linePitches, int minPitch, int maxPitch, int pitchInc,
int minHeight, int maxHeight, int virtualX, int virtualY, int minHeight, int maxHeight, int virtualX, int virtualY,
int apertureSize, LookupModeFlags strategy) int apertureSize, LookupModeFlags strategy)