xfree86: ddc: make FindDMTMode() static

Only used inside xf86EdidModes.c, so can be made static.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-21 15:35:42 +02:00
parent 3f4579ebad
commit b60303c16e
2 changed files with 1 additions and 4 deletions

View File

@ -42,9 +42,6 @@ extern _X_EXPORT xf86MonPtr xf86InterpretEEDID(int screenIndex, Uchar * block);
extern _X_EXPORT Bool xf86SetDDCproperties(ScrnInfoPtr pScreen, xf86MonPtr DDC); extern _X_EXPORT Bool xf86SetDDCproperties(ScrnInfoPtr pScreen, xf86MonPtr DDC);
extern _X_EXPORT DisplayModePtr
FindDMTMode(int hsize, int vsize, int refresh, Bool rb);
extern _X_EXPORT const DisplayModeRec DMTModes[]; extern _X_EXPORT const DisplayModeRec DMTModes[];
#endif #endif

View File

@ -424,7 +424,7 @@ ModeRefresh(const DisplayModeRec * mode)
* part of the DMT pool. For the 'standard' EDID mode descriptor there's * part of the DMT pool. For the 'standard' EDID mode descriptor there's
* no way to specify whether the mode should be RB or not. * no way to specify whether the mode should be RB or not.
*/ */
DisplayModePtr static DisplayModePtr
FindDMTMode(int hsize, int vsize, int refresh, Bool rb) FindDMTMode(int hsize, int vsize, int refresh, Bool rb)
{ {
int i; int i;