diff options
author | Marius Predut <[email protected]> | 2015-04-07 22:06:01 +0300 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-14 12:23:41 -0700 |
commit | fc57222f6097da737d578f081075a027377ba399 (patch) | |
tree | 29846f47203ac552221351c4f1717eb581eeb71a | |
parent | 6f4d9418b41f650630e725e0a842de9bb1ad746f (diff) |
glx: replace __FUNCTION__ with __func__
Consistently just use C99's __func__ everywhere.
No functional changes.
Acked-by: Matt Turner <[email protected]>
Signed-off-by: Marius Predut <[email protected]>
-rw-r--r-- | src/glx/apple/apple_glx_log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/apple/apple_glx_log.h b/src/glx/apple/apple_glx_log.h index 4b1c531d27f..b1a55382032 100644 --- a/src/glx/apple/apple_glx_log.h +++ b/src/glx/apple/apple_glx_log.h @@ -39,14 +39,14 @@ __printflike(5, 6) void _apple_glx_log(int level, const char *file, const char *function, int line, const char *fmt, ...); #define apple_glx_log(l, f, args ...) \ - _apple_glx_log(l, __FILE__, __FUNCTION__, __LINE__, f, ## args) + _apple_glx_log(l, __FILE__, __func__, __LINE__, f, ## args) __printflike(5, 0) void _apple_glx_vlog(int level, const char *file, const char *function, int line, const char *fmt, va_list v); #define apple_glx_vlog(l, f, v) \ - _apple_glx_vlog(l, __FILE__, __FUNCTION__, __LINE__, f, v) + _apple_glx_vlog(l, __FILE__, __func__, __LINE__, f, v) /* This is just here to help the transition. * TODO: Replace calls to apple_glx_diagnostic |