[PATCH xserver] Change __FUNCTION__ to __func__

Matthieu Herrb matthieu.herrb at laas.fr
Tue Jul 20 22:54:14 PDT 2010


On Wed, Jul 21, 2010 at 07:07:29AM +0200, Tomas Carnecky wrote:
> On 7/21/10 6:19 AM, Jesse Adkins wrote:
> > __func__ is the ISO C99 way of getting the current function name.
> 
> The xserver only depends on C89, though it does use some C99 some
> extensions. The required extensions are documented in doc/c-extensions.
> How about adding the dependency on __func__ to the file?
> 
> Are there any C89-only platforms left which prevent us from switching to
> C99?

Yes. 
-- 
Matthieu Herrb


More information about the xorg-devel mailing list