projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b14a5
)
main: remove __FUNCTION__ defined because it is obsolete
author
Marius Predut
<marius.predut@intel.com>
Thu, 16 Apr 2015 10:36:07 +0000
(13:36 +0300)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Tue, 21 Apr 2015 13:05:30 +0000
(13:05 +0000)
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>
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index 55152fdefaf968464e67d02ed7787e681bbc91b0..93b4e6f12dd5f375fa711f293edff47b0e23fbba 100644
(file)
--- 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!