From 54e52ecf82093c39d85b11617934cbb698a968a6 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 4 Aug 2025 13:28:40 +0200 Subject: [PATCH] make amdgpu_mode_hotplug() 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 --- src/drmmode_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index ca3eca5..b969483 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -3646,7 +3646,7 @@ drmmode_find_output(ScrnInfoPtr scrn, int output_id, int *num_dvi, return FALSE; } -void +static void amdgpu_mode_hotplug(ScrnInfoPtr scrn, drmmode_ptr drmmode) { xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);