gallium/winsys/nouveau: Don't mark the api PUBLIC

We don't want to export this symbol from our shared object - any use of
this function from outside of mesa (like the ddx) should get the version
from libdrm, not the private copy in mesa.

Fixes: 821f4c8d99 ("nouveau: import libdrm_nouveau")
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32740>
This commit is contained in:
Mel Henning
2024-12-19 20:57:38 -05:00
committed by Marge Bot
parent 6646b5f95b
commit 6f6072448d

View File

@@ -82,7 +82,7 @@ err_dev_new:
return NULL;
}
PUBLIC struct pipe_screen *
struct pipe_screen *
nouveau_drm_screen_create(int fd)
{
return u_pipe_screen_lookup_or_create(os_dupfd_cloexec(fd), NULL, NULL,