summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-02 12:24:41 -0700
committerBrian Paul <[email protected]>2009-02-02 16:51:45 -0700
commitd2eff33ab7fda9527458ea35d9eb109ec2988490 (patch)
tree42a8a9772aa53361af5244f04ee27969597a4864
parent052c1d66a1ab1f2665870dc77dab28d20416cdf1 (diff)
mesa: make _mesa_fprint_program_opt() non-static
-rw-r--r--src/mesa/shader/prog_print.c2
-rw-r--r--src/mesa/shader/prog_print.h5
2 files changed, 4 insertions, 3 deletions
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);