summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarius Predut <[email protected]>2015-04-16 13:36:07 +0300
committerEmil Velikov <[email protected]>2015-04-21 13:05:30 +0000
commit958b4965a23f69085dc04df165d6fccc2707d60e (patch)
tree35e41f68c8b68f3b463155a40e5900f4ebd3c197 /src/mesa
parentd8b14a57a98f4bad6528eda8dd1406c15bdcce75 (diff)
main: remove __FUNCTION__ defined because it is obsolete
Consistently just use C99's __func__ everywhere. No functional changes. Signed-off-by: Marius Predut <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/compiler.h5
1 files changed, 0 insertions, 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!