[PATCH] dix: optimize CallCallbacks

Alan Coopersmith alan.coopersmith at oracle.com
Tue Oct 12 07:48:41 PDT 2010


Tomas Carnecky wrote:
> I once tried to clean up all the inline, __inline, __inline__, _X_INLINE
> declarations but never actually got an answer which one I should use.
> The documentation says that inline is an optional extension and that one
> should use _X_INLINE. But too much code already assumes that the
> compiler supports inline. Is everyone fine with that?

I'm fine with either the C99-standard inline or _X_INLINE (which should
resolve to the same) - I'd rather see the __inline & __inline__ obsolete
gcc extensions go away in favor of the standard form.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list