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