Date: Wed, 14 Dec 2011 07:26:18 +0100 From: Ed Schouten <ed@80386.nl> To: Bruce Evans <brde@optusnet.com.au> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Stefan Farfeleder <stefanf@freebsd.org>, src-committers@freebsd.org Subject: Re: svn commit: r228471 - in head/sys: boot/arm/at91/libat91 dev/cm dev/de dev/fdc dev/pccard dev/spibus dev/xen/netback pc98/cbus Message-ID: <20111214062618.GK1771@hoeg.nl> In-Reply-To: <20111214140737.J1950@besplex.bde.org> References: <201112131406.pBDE61bc053693@svn.freebsd.org> <20111213144539.GB1587@mole.fafoe.narf.at> <20111214140737.J1950@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--+HmK7y6O+lKZIGkr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bruce, * Bruce Evans <brde@optusnet.com.au>, 20111214 04:26: > And using inline instead of __inline breaks C90 compilers. Unline const > and signed, inline is new in C99, and there are still usable C90 compilers > (e.g., c89, gcc -std=3Dc89 and old(?) versions of TenDRA) which will break > if it is spelled inline. C90 compilers should also break if it is spelled > __inline, but it is easier to annul if is spelled __inline, and > <sys/cdefs.h> already supports this. But the point is that we switched to C99 and haven't looked back since. There is no harm in using C99 in the kernel. The only places where we need to use __inline, is in header files that provide public APIs. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --+HmK7y6O+lKZIGkr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJO6EGKAAoJEG5e2P40kaK7kw4P/ircnSSbqkAzLdrkogCgQ/Xu 7Zp+5Zpkf1Safhn2vfq0uHUrbP6G4t7KIL0dB6amBogVigCaA0TBrvluxtBk7sWc GxKi1G7P00OqsTZxfz93VZ1KB8nwK3R7gz/OZPlixKTkdr2FlRNVXVWLtOknyAGD SsqQiUxD1U6UFTk9pndA9URTq+ls08ynDy5G21zFLmIXn8ASvgLWz2vBhvqsazA3 ME/sXxMupu1Fl72pDgSMPWKyzEQdEc37fklad7Bwuzh/fqXULkaCGc9ZQh38r1WP rHmI1hKJHnpQLprgF9MYk3KbQvgS6lQlERhjh9u66DxZOtJ3rdxgovpXw0RMLldI 6EJdkdfDHGJNskcz6gUVNfUBnlZtrr+Q9abw22q+IscjOnIjh2JRo5Fh4pBhlqy1 9E3qJonfumLQUajHDMufOxtV5QKmkVSuyoYTKtDD2pPQEnLpqJTG19POueaE28xR Vt88OVURhQ+hRp2vXSC9jJ1b9x3ngZbAQFPkFx1URIccu3EEI0O6C9NgvmJZjKgn fqUM3i0yKbuOZhd2RsHSU9JSHpMsfsDWiL2yJX5azN5YwO27SiyI2Efi/atrMU9Z F4CAdOWvZQ3eMPNqv9sX7ia8dtDNG/7alxumS42PSFYo84ShgUBNlLuYDEmPKxj9 NLPQ0UDwJ6LVuTqgBbLV =YLPq -----END PGP SIGNATURE----- --+HmK7y6O+lKZIGkr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111214062618.GK1771>