Bruce,

* Bruce Evans <b...@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=c89 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.

-- 
 Ed Schouten <e...@80386.nl>
 WWW: http://80386.nl/

Attachment: pgpB1bQ4gX4J3.pgp
Description: PGP signature

Reply via email to