[Mesa-dev] [PATCH 4/4] mesa/fxt1: make fxt1_decode_1 static

Dave Airlie airlied at gmail.com
Fri Sep 14 20:18:24 PDT 2012


No users outside this file.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/mesa/main/texcompress_fxt1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/texcompress_fxt1.c b/src/mesa/main/texcompress_fxt1.c
index 92af29a..3fc7dab 100644
--- a/src/mesa/main/texcompress_fxt1.c
+++ b/src/mesa/main/texcompress_fxt1.c
@@ -50,7 +50,7 @@ fxt1_encode (GLuint width, GLuint height, GLint comps,
              const void *source, GLint srcRowStride,
              void *dest, GLint destRowStride);
 
-void
+static void
 fxt1_decode_1 (const void *texture, GLint stride,
                GLint i, GLint j, GLubyte *rgba);
 
@@ -1619,7 +1619,7 @@ fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLubyte *rgba)
 }
 
 
-void
+static void
 fxt1_decode_1 (const void *texture, GLint stride, /* in pixels */
                GLint i, GLint j, GLubyte *rgba)
 {
-- 
1.7.11.4



More information about the mesa-dev mailing list