opnsense-src/sys/contrib
Conrad Meyer 43eccfe9b4 pcg-c: Add 'static' to inline function definitions
Make the inlines static to avoid kernel build failure with Clang 11 on i386.
(The issue was not observed with Clang 10, currently in tree; reproduction
depends on compiler inlining choices.)

The compiler may choose not to inline 'bare' C inlines, and in that case
expects a symbol of the same name will be available.  It does not
automatically define that symbol at use, because of traditional C linking
semantics. (In contrast, C++ does define it, and then deduplicates redundant
definitions at link).  As we do not instantiate the C99 inline ('extern
inline ...;'), the linker errors with "undefined symbol."

Reported by:	dim
Tested by:	dim
Fixes:		r364219
2020-08-15 18:46:26 +00:00
..
alpine-hal
ck
cloudabi
dev MFV: r363292 2020-07-18 07:35:34 +00:00
edk2
ena-com
ipfilter/netinet
libb2
libfdt
libnv
libsodium
ncsw
ngatm
octeon-sdk
pcg-c/include pcg-c: Add 'static' to inline function definitions 2020-08-15 18:46:26 +00:00
rdma/krping
v4l
vchiq/interface
x86emu
xz-embedded
zlib
zstd