From: Marius Predut Date: Thu, 16 Apr 2015 10:36:07 +0000 (+0300) Subject: main: remove __FUNCTION__ defined because it is obsolete X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=958b4965a23f69085dc04df165d6fccc2707d60e;p=mesa.git main: remove __FUNCTION__ defined because it is obsolete Consistently just use C99's __func__ everywhere. No functional changes. Signed-off-by: Marius Predut Reviewed-by: Emil Velikov --- diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 55152fdefaf..93b4e6f12dd 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -60,11 +60,6 @@ extern "C" { #endif -/* XXX: Use standard `__func__` instead */ -#ifndef __FUNCTION__ -# define __FUNCTION__ __func__ -#endif - /** * Either define MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN, and CPU_TO_LE32. * Do not use these unless absolutely necessary!