artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3edcf
)
__always_inline needs the inline keyword as well as the attribute
author
jsg
<jsg@openbsd.org>
Wed, 19 Jan 2022 00:34:31 +0000
(
00:34
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 19 Jan 2022 00:34:31 +0000
(
00:34
+0000)
sys/dev/pci/drm/include/linux/compiler.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/linux/compiler.h
b/sys/dev/pci/drm/include/linux/compiler.h
index
fab3cd8
..
89be6a7
100644
(file)
--- 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)