From: Dave Airlie Date: Sat, 15 Sep 2012 03:09:42 +0000 (+1000) Subject: mesa/dxtn: make function pointers static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b10d81fc82db96d642e7d3ea63ec22197ac25a6;p=mesa.git mesa/dxtn: make function pointers static These aren't used outside thie file from what I can see. Reviewed-by: Matt Turner Acked-by: Kenneth Graunke Signed-off-by: Dave Airlie --- diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c index 8736e208fde..b5d7d3b9be9 100644 --- a/src/mesa/main/texcompress_s3tc.c +++ b/src/mesa/main/texcompress_s3tc.c @@ -91,10 +91,10 @@ nonlinear_to_linear(GLubyte cs8) typedef void (*dxtFetchTexelFuncExt)( GLint srcRowstride, GLubyte *pixdata, GLint col, GLint row, GLvoid *texelOut ); -dxtFetchTexelFuncExt fetch_ext_rgb_dxt1 = NULL; -dxtFetchTexelFuncExt fetch_ext_rgba_dxt1 = NULL; -dxtFetchTexelFuncExt fetch_ext_rgba_dxt3 = NULL; -dxtFetchTexelFuncExt fetch_ext_rgba_dxt5 = NULL; +static dxtFetchTexelFuncExt fetch_ext_rgb_dxt1 = NULL; +static dxtFetchTexelFuncExt fetch_ext_rgba_dxt1 = NULL; +static dxtFetchTexelFuncExt fetch_ext_rgba_dxt3 = NULL; +static dxtFetchTexelFuncExt fetch_ext_rgba_dxt5 = NULL; typedef void (*dxtCompressTexFuncExt)(GLint srccomps, GLint width, GLint height, const GLubyte *srcPixData,