From: Brian Paul Date: Tue, 14 Dec 2010 00:16:57 +0000 (-0700) Subject: st/mesa: make st_delete_program() static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d8e9491df01898a8dde725baa000c0259a991a3;p=mesa.git st/mesa: make st_delete_program() static --- 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