gallium: __FUNCTION__ now never be used, remove it
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 17 Nov 2022 21:40:21 +0000 (05:40 +0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 22 Nov 2022 06:53:47 +0000 (06:53 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19861>

src/gallium/include/pipe/p_compiler.h

index 9b6d248..3d7d7d2 100644 (file)
@@ -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.
  */