mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
glx: replace __FUNCTION__ with __func__
Consistently just use C99's __func__ everywhere. No functional changes. Acked-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marius Predut <marius.predut@intel.com>
This commit is contained in:
parent
6f4d9418b4
commit
fc57222f60
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue