make drmmode_crtc_hw_id() static

only used inside the same source file, so better make it static,
so we also get rid of missing prototype warning.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-04 13:24:20 +02:00
committed by Joseph Crowell
parent d903737df1
commit 2248d5b1b2

View File

@@ -1753,7 +1753,7 @@ int drmmode_get_crtc_id(xf86CrtcPtr crtc)
return drmmode_crtc->hw_id;
}
void drmmode_crtc_hw_id(xf86CrtcPtr crtc)
static void drmmode_crtc_hw_id(xf86CrtcPtr crtc)
{
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
ScrnInfoPtr pScrn = crtc->scrn;