diff options
author | Emil Velikov <[email protected]> | 2015-02-28 16:39:10 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-03-05 14:45:53 +0000 |
commit | d780012cd75c24394b043b107d17eb8199ae2dc7 (patch) | |
tree | 0ebf81375589f5c7ebab1572f29d716ff8a5079c /src/egl/main/eglcompiler.h | |
parent | 7bd1693877e4de9aaf8f6776649fc48db54ec82b (diff) |
egl/main: replace __FUNCTION__ with __func__
The latter is a C99 standard, and our current wrapper c99_compat.h
should handle non-compliant compilers.
Drop the c99_compat.h inclusion from eglcompiler.h altogether, as it's
no longer required.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl/main/eglcompiler.h')
-rw-r--r-- | src/egl/main/eglcompiler.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h index 2e1c8b92f7b..f5fb8693101 100644 --- a/src/egl/main/eglcompiler.h +++ b/src/egl/main/eglcompiler.h @@ -31,9 +31,6 @@ #define EGLCOMPILER_INCLUDED -#include "c99_compat.h" /* __func__, etc. */ - - /** * Get standard integer types */ @@ -79,11 +76,6 @@ # endif #endif -/* XXX: Use standard `__func__` instead */ -#ifndef __FUNCTION__ -# define __FUNCTION__ __func__ -#endif - #define STATIC_ASSERT(COND) \ do { \ (void) sizeof(char [1 - 2*!(COND)]); \ |