From e439c9c8d7072e128eaaf4c612d9360f710eb759 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Feb 2024 17:23:58 +0100 Subject: [PATCH] xwayland: drop duplicate _X_EXPORT These are already defined in glamor.h Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xwayland/xwayland-glamor-gbm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xwayland/xwayland-glamor-gbm.c b/hw/xwayland/xwayland-glamor-gbm.c index 69ead78f2..7dbc9d24e 100644 --- a/hw/xwayland/xwayland-glamor-gbm.c +++ b/hw/xwayland/xwayland-glamor-gbm.c @@ -701,7 +701,7 @@ xwl_dri3_open_client(ClientPtr client, return Success; } -_X_EXPORT PixmapPtr +PixmapPtr glamor_pixmap_from_fds(ScreenPtr screen, CARD8 num_fds, const int *fds, CARD16 width, CARD16 height, const CARD32 *strides, const CARD32 *offsets, @@ -766,7 +766,7 @@ error: return NULL; } -_X_EXPORT int +int glamor_egl_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, uint32_t *strides, uint32_t *offsets, uint64_t *modifier) @@ -836,7 +836,7 @@ glamor_egl_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, /* Not actually used, just defined here so there's something for * _glamor_egl_fds_from_pixmap() to link against */ -_X_EXPORT int +int glamor_egl_fd_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, CARD16 *stride, CARD32 *size) {