diff options
author | Marius Predut <marius.predut@intel.com> | 2015-04-07 22:05:28 +0300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-04-14 12:23:53 -0700 |
commit | 28d9e90428282a5e0a6aa31ad858a5cf514d1264 (patch) | |
tree | 4131e0ea3acbecf0699952b40f4b9663b46d67bf /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 139e6c7c4a9c59be5f4b3f431ac393cc097326ac (diff) | |
download | external_mesa3d-28d9e90428282a5e0a6aa31ad858a5cf514d1264.zip external_mesa3d-28d9e90428282a5e0a6aa31ad858a5cf514d1264.tar.gz external_mesa3d-28d9e90428282a5e0a6aa31ad858a5cf514d1264.tar.bz2 |
i965: 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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index a4884ed..c7e1e81 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -725,7 +725,7 @@ brwCreateContext(gl_api api, struct brw_context *brw = rzalloc(NULL, struct brw_context); if (!brw) { - fprintf(stderr, "%s: failed to alloc context\n", __FUNCTION__); + fprintf(stderr, "%s: failed to alloc context\n", __func__); *dri_ctx_error = __DRI_CTX_ERROR_NO_MEMORY; return false; } @@ -781,7 +781,7 @@ brwCreateContext(gl_api api, if (!_mesa_initialize_context(ctx, api, mesaVis, shareCtx, &functions)) { *dri_ctx_error = __DRI_CTX_ERROR_NO_MEMORY; - fprintf(stderr, "%s: failed to init mesa context\n", __FUNCTION__); + fprintf(stderr, "%s: failed to init mesa context\n", __func__); intelDestroyContext(driContextPriv); return false; } |