From 958b4965a23f69085dc04df165d6fccc2707d60e Mon Sep 17 00:00:00 2001 From: Marius Predut Date: Thu, 16 Apr 2015 13:36:07 +0300 Subject: [PATCH] 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 --- src/mesa/main/compiler.h | 5 ----- 1 file changed, 5 deletions(-) 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! -- 2.30.2