From c24e2428adeb2dd654282443bdf008b3f011262f Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Fri, 18 Nov 2022 05:40:21 +0800 Subject: [PATCH] gallium: __FUNCTION__ now never be used, remove it Signed-off-by: Yonggang Luo Acked-by: Erik Faye-Lund Acked-by: David Heidelberg Part-of: --- src/gallium/include/pipe/p_compiler.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 9b6d248dd2b..3d7d7d25640 100644 --- a/src/gallium/include/pipe/p_compiler.h +++ b/src/gallium/include/pipe/p_compiler.h @@ -77,12 +77,6 @@ typedef unsigned char boolean; #define FALSE false #endif -/* XXX: Use standard `__func__` instead */ -#ifndef __FUNCTION__ -# define __FUNCTION__ __func__ -#endif - - /* This should match linux gcc cdecl semantics everywhere, so that we * just codegen one calling convention on all platforms. */