]> granicus.if.org Git - musl/commit
avoid "inline" in public headers for strict c89 compatibility
authorRich Felker <dalias@aerifal.cx>
Sun, 2 Sep 2012 16:46:06 +0000 (12:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 2 Sep 2012 16:46:06 +0000 (12:46 -0400)
commitfb247fafa04ee52dda816355ab0461132297b9a4
tree25c815d12a2beb2f9faaa0cc0308c1274beded6e
parent3f62f76cab46fbd28248ed251a88278c6ea1be3a
avoid "inline" in public headers for strict c89 compatibility

while musl itself requires a c99 compiler, some applications insist on
being compiled with c89 compilers, and use of "inline" in the headers
was breaking them. much of this had been avoided already by just
skipping the inline keyword in pre-c99 compilers or modes, but this
new unified solution is cleaner and may/should result in better code
generation in the default gcc configuration.
arch/arm/bits/syscall.h
arch/i386/bits/syscall.h
arch/mips/bits/syscall.h
arch/x86_64/bits/syscall.h
include/byteswap.h
include/endian.h
include/math.h
include/sys/syscall.h