st/mesa: make st_delete_program() static
authorBrian Paul <brianp@vmware.com>
Tue, 14 Dec 2010 00:16:57 +0000 (17:16 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 14 Dec 2010 00:20:56 +0000 (17:20 -0700)
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_cb_program.h

index 3e217abbb2e6d6a9daaa9dcbe0793b9e94955714..e55c50f20901bb96205c8e810aa43ae93b7fc94a 100644 (file)
@@ -119,7 +119,7 @@ st_new_program(struct gl_context *ctx, GLenum target, GLuint id)
 /**
  * Called via ctx->Driver.DeleteProgram()
  */
-void
+static void
 st_delete_program(struct gl_context *ctx, struct gl_program *prog)
 {
    struct st_context *st = st_context(ctx);
index 004afb6d81206cf633bbbe7d5f7d2164c4ae4479..d9149d61fbbef19b2759ba93b9d81ad21676155c 100644 (file)
@@ -36,8 +36,5 @@ struct dd_function_table;
 extern void
 st_init_program_functions(struct dd_function_table *functions);
 
-extern void
-st_delete_program(struct gl_context *ctx, struct gl_program *prog);
-
 
 #endif