mesa: make _mesa_fprint_program_opt() non-static
authorBrian Paul <brianp@vmware.com>
Mon, 2 Feb 2009 19:24:41 +0000 (12:24 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 2 Feb 2009 23:51:45 +0000 (16:51 -0700)
src/mesa/shader/prog_print.c
src/mesa/shader/prog_print.h

index 09019dffef02385702d10b99f9b92827142f5892..fa1d3614bfa7079e33909004dda5c5c04f694353 100644 (file)
@@ -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,
index a64a3126e8bb9b5f4165f7b94055f41dc3d657ee..aa7f902feebe405abb967ea4c5b064dacb2f5d12 100644 (file)
@@ -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);