xf86drmMode: switch to standard inline qualifier
authorSimon Ser <contact@emersion.fr>
Tue, 15 Jun 2021 12:47:04 +0000 (14:47 +0200)
committerSimon Ser <contact@emersion.fr>
Mon, 27 Sep 2021 13:01:59 +0000 (15:01 +0200)
__inline is non-standard, inline is.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
xf86drmMode.h

index c1434e1..14ffdf3 100644 (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: */