From: Brian Paul Date: Sun, 22 Aug 2004 17:23:22 +0000 (+0000) Subject: don't use __FUNCTION__ - not portable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc3a5336d941239cdfd5d9cfd6b407e769c2ac70;p=mesa.git don't use __FUNCTION__ - not portable --- diff --git a/src/mesa/tnl/t_vertex_c.c b/src/mesa/tnl/t_vertex_c.c index 0c3fd004017..51090260372 100644 --- a/src/mesa/tnl/t_vertex_c.c +++ b/src/mesa/tnl/t_vertex_c.c @@ -228,17 +228,12 @@ static GLboolean print_attr_header( struct tnl_clipspace_codegen *p, static GLboolean print_attr_footer( struct tnl_clipspace_codegen *p ) { - return - emit(p, " }\n"); + return emit(p, " }\n"); } static tnl_emit_func print_store_func( struct tnl_clipspace_codegen *p ) { -#if defined( WIN32 ) || defined( __VMS ) - fprintf(stderr, "%s: emitted:\n%s\n", "print_store_func", p->buf); -#else - fprintf(stderr, "%s: emitted:\n%s\n", __FUNCTION__, p->buf); -#endif + fprintf(stderr, "print_store_func: emitted:\n%s\n", p->buf); return 0; }