From: Brian Paul Date: Mon, 2 Feb 2009 19:24:41 +0000 (-0700) Subject: mesa: make _mesa_fprint_program_opt() non-static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2eff33ab7fda9527458ea35d9eb109ec2988490;p=mesa.git mesa: make _mesa_fprint_program_opt() non-static --- diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 09019dffef0..fa1d3614bfa 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -731,7 +731,7 @@ _mesa_print_instruction(const struct prog_instruction *inst) /** * Print program, with options. */ -static void +void _mesa_fprint_program_opt(FILE *f, const struct gl_program *prog, gl_prog_print_mode mode, diff --git a/src/mesa/shader/prog_print.h b/src/mesa/shader/prog_print.h index a64a3126e8b..aa7f902feeb 100644 --- a/src/mesa/shader/prog_print.h +++ b/src/mesa/shader/prog_print.h @@ -62,8 +62,9 @@ extern void _mesa_print_program(const struct gl_program *prog); extern void -_mesa_print_program_opt(const struct gl_program *prog, gl_prog_print_mode mode, - GLboolean lineNumbers); +_mesa_fprint_program_opt(FILE *f, + const struct gl_program *prog, gl_prog_print_mode mode, + GLboolean lineNumbers); extern void _mesa_print_program_parameters(GLcontext *ctx, const struct gl_program *prog);