[PATCH 1/3] Standartize on C99 inline

Rémi Cardona remi at gentoo.org
Fri Mar 20 11:37:51 PDT 2009


Tomas Carnecky <tom at dbservice.com>Tomas Carnecky a écrit :
> The current code uses a mix of inline, __inline, __inline__ and _X_INLINE.
> Standartize on C99 inline, but add AC_C_INLINE to configure.ac to take care
> of old compilers. Also remove reference to _X_INLINE in doc/c-extensions.

Why bother with inlining in the first place? Modern compilers are 
supposed to be much smarter about this, making explicit "inline" moot 
and sometimes counter-productive.

Aren't kernel folks also slowly moving away from "inline" ?

Cheers

-- 
Rémi Cardona
LRI, INRIA
remi.cardona at lri.fr
remi at gentoo.org


More information about the xorg-devel mailing list