From: Matt Turner Date: Mon, 31 Dec 2012 20:58:08 +0000 (-0800) Subject: mesa: Mark _mesa_{init,delete}_sampler_object as static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b06a0478f5e307d0065805cf09c2971d5a312e2;p=mesa.git mesa: Mark _mesa_{init,delete}_sampler_object as static Reviewed-by: Kenneth Graunke --- 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);