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:
parent
644725ac5e
commit
d6da9f23cc
|
@ -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,
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue