[PATCH xserver] Change __FUNCTION__ to __func__

Tomas Carnecky tom at dbservice.com
Tue Jul 20 22:07:29 PDT 2010


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?

tom



More information about the xorg-devel mailing list