dri3: unexport VERIFY_DRI3_SYNCOBJ() macro

Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-05-05 17:33:37 +02:00
parent 30c0dd3734
commit 1295fc3ff5
3 changed files with 11 additions and 14 deletions

View File

@@ -64,6 +64,16 @@ typedef struct dri3_screen_priv {
real->mem = priv->mem; \
}
#define VERIFY_DRI3_SYNCOBJ(id, ptr, a)\
do {\
int rc = dixLookupResourceByType((void **)&(ptr), id,\
dri3_syncobj_type, client, a);\
if (rc != Success) {\
client->errorValue = id;\
return rc;\
}\
} while (0);
static inline dri3_screen_priv_ptr
dri3_screen_priv(ScreenPtr screen)
{