Mesa (master): mesa/fxt1: make fxt1_decode_1 static

Dave Airlie airlied at kemper.freedesktop.org
Sat Sep 15 08:04:41 UTC 2012


Module: Mesa
Branch: master
Commit: ee9f5766378e3f4fbaf41e8c4d037b66793c1077
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee9f5766378e3f4fbaf41e8c4d037b66793c1077

Author: Dave Airlie <airlied at gmail.com>
Date:   Sat Sep 15 13:16:47 2012 +1000

mesa/fxt1: make fxt1_decode_1 static

No users outside this file.

Reviewed-by: Matt Turner <mattst88 at gmail.com>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/mesa/main/texcompress_fxt1.c |    4 ++--
 1 files 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)
 {




More information about the mesa-commit mailing list