From bb709e60233d457f0c63d7b77baaab80f264ba16 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 15 Jun 2021 14:47:04 +0200 Subject: [PATCH] xf86drmMode: switch to standard inline qualifier __inline is non-standard, inline is. Signed-off-by: Simon Ser Reviewed-by: Emil Velikov --- xf86drmMode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86drmMode.h b/xf86drmMode.h index c1434e1d..14ffdf3d 100644 --- a/xf86drmMode.h +++ b/xf86drmMode.h @@ -142,7 +142,7 @@ typedef struct _drmModeProperty { uint32_t *blob_ids; /* store the blob IDs */ } drmModePropertyRes, *drmModePropertyPtr; -static __inline int drm_property_type_is(const drmModePropertyPtr property, +static inline int drm_property_type_is(const drmModePropertyPtr property, uint32_t type) { /* instanceof for props.. handles extended type vs original types: */