summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorMarius Predut <marius.predut@intel.com>2015-04-16 13:36:07 +0300
committerEmil Velikov <emil.l.velikov@gmail.com>2015-04-21 13:05:30 +0000
commit958b4965a23f69085dc04df165d6fccc2707d60e (patch)
tree35e41f68c8b68f3b463155a40e5900f4ebd3c197 /src/mesa/main/compiler.h
parentd8b14a57a98f4bad6528eda8dd1406c15bdcce75 (diff)
downloadexternal_mesa3d-958b4965a23f69085dc04df165d6fccc2707d60e.zip
external_mesa3d-958b4965a23f69085dc04df165d6fccc2707d60e.tar.gz
external_mesa3d-958b4965a23f69085dc04df165d6fccc2707d60e.tar.bz2
main: remove __FUNCTION__ defined because it is obsolete
Consistently just use C99's __func__ everywhere. No functional changes. Signed-off-by: Marius Predut <marius.predut@intel.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/mesa/main/compiler.h')
-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 55152fd..93b4e6f 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!