xf86drmMode: switch to standard inline qualifier

__inline is non-standard, inline is.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
main
Simon Ser 2021-06-15 14:47:04 +02:00
parent e939bd1e8c
commit bb709e6023
1 changed files with 1 additions and 1 deletions

View File

@ -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: */