make amdgpu_sync_shared_pixmap() static

it's 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 12:50:59 +02:00
committed by Joseph Crowell
parent cac5561a21
commit 65e99416c4

View File

@@ -634,7 +634,7 @@ amdgpu_prime_scanout_update_abort(xf86CrtcPtr crtc, void *event_data)
drmmode_crtc->scanout_update_pending = 0;
}
void
static void
amdgpu_sync_shared_pixmap(PixmapDirtyUpdatePtr dirty)
{
ScreenPtr primary_screen = amdgpu_dirty_primary(dirty);