added _mesa_alloc_instructions() utility function
diff --git a/src/mesa/shader/program.h b/src/mesa/shader/program.h
index a8535cc..6a34533 100644
--- a/src/mesa/shader/program.h
+++ b/src/mesa/shader/program.h
@@ -115,6 +115,9 @@
 _mesa_lookup_program(GLcontext *ctx, GLuint id);
 
 extern struct prog_instruction *
+_mesa_alloc_instructions(GLuint numInst);
+
+extern struct prog_instruction *
 _mesa_realloc_instructions(struct prog_instruction *oldInst,
                            GLuint numOldInst, GLuint numNewInst);