diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-19 00:34:32 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-19 00:34:32 +0000 |
commit | 45b54541c2e8f124dd877de2e90ef9b74373dbf0 (patch) | |
tree | cd06e640c9dc1d19c64a30571f77915ef358f8e1 /sys/dev/pci/drm | |
parent | 20b645c2be6a07e3f3495edc48c2414920d3d1c2 (diff) |
__always_inline needs the inline keyword as well as the attribute
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/include/linux/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/include/linux/compiler.h b/sys/dev/pci/drm/include/linux/compiler.h index fab3cd811d5..89be6a71e7f 100644 --- a/sys/dev/pci/drm/include/linux/compiler.h +++ b/sys/dev/pci/drm/include/linux/compiler.h @@ -20,7 +20,7 @@ #define __deprecated #define __always_unused __attribute__((__unused__)) #define __maybe_unused __attribute__((__unused__)) -#define __always_inline __attribute__((__always_inline__)) +#define __always_inline inline __attribute__((__always_inline__)) #define noinline __attribute__((__noinline__)) #define fallthrough do {} while (0) |