From 1b06a0478f5e307d0065805cf09c2971d5a312e2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 31 Dec 2012 12:58:08 -0800 Subject: mesa: Mark _mesa_{init,delete}_sampler_object as static Reviewed-by: Kenneth Graunke --- src/mesa/main/samplerobj.c | 4 ++-- src/mesa/main/samplerobj.h | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 3c3bfffd4d9..9b2121660d3 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -110,7 +110,7 @@ _mesa_reference_sampler_object_(struct gl_context *ctx, /** * Initialize the fields of the given sampler object. */ -void +static void _mesa_init_sampler_object(struct gl_sampler_object *sampObj, GLuint name) { sampObj->Name = name; @@ -151,7 +151,7 @@ _mesa_new_sampler_object(struct gl_context *ctx, GLuint name) /** * Fallback for ctx->Driver.DeleteSamplerObject(); */ -void +static void _mesa_delete_sampler_object(struct gl_context *ctx, struct gl_sampler_object *sampObj) { diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h index ecff032c978..dce7c6c3080 100644 --- a/src/mesa/main/samplerobj.h +++ b/src/mesa/main/samplerobj.h @@ -63,16 +63,9 @@ _mesa_reference_sampler_object(struct gl_context *ctx, } -extern void -_mesa_init_sampler_object(struct gl_sampler_object *sampObj, GLuint name); - extern struct gl_sampler_object * _mesa_new_sampler_object(struct gl_context *ctx, GLuint name); -extern void -_mesa_delete_sampler_object(struct gl_context *ctx, - struct gl_sampler_object *sampObj); - extern void _mesa_init_sampler_object_functions(struct dd_function_table *driver); -- cgit v1.2.3