summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-12-13 17:16:57 -0700
committerBrian Paul <[email protected]>2010-12-13 17:20:56 -0700
commit8d8e9491df01898a8dde725baa000c0259a991a3 (patch)
tree629a0a58349df2c8de7f641f50d96a8253c02c40 /src/mesa/state_tracker
parent9b4433fe58cc1a64c44388590385a777e3050bb3 (diff)
st/mesa: make st_delete_program() static
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_program.c2
-rw-r--r--src/mesa/state_tracker/st_cb_program.h3
2 files changed, 1 insertions, 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