From 8d8e9491df01898a8dde725baa000c0259a991a3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 13 Dec 2010 17:16:57 -0700 Subject: [PATCH] st/mesa: make st_delete_program() static --- src/mesa/state_tracker/st_cb_program.c | 2 +- src/mesa/state_tracker/st_cb_program.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_program.c b/src/mesa/state_tracker/st_cb_program.c index 3e217abbb2e..e55c50f2090 100644 --- a/src/mesa/state_tracker/st_cb_program.c +++ b/src/mesa/state_tracker/st_cb_program.c @@ -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); diff --git a/src/mesa/state_tracker/st_cb_program.h b/src/mesa/state_tracker/st_cb_program.h index 004afb6d812..d9149d61fbb 100644 --- a/src/mesa/state_tracker/st_cb_program.h +++ b/src/mesa/state_tracker/st_cb_program.h @@ -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 -- 2.30.2