Mesa (glsl-pp-rework-2): glsl/pp: make some functions static

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 10 07:33:30 PST 2009


Module: Mesa
Branch: glsl-pp-rework-2
Commit: 0d654a7f2cf173723eee930d2e5b9a1dd0140aaf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d654a7f2cf173723eee930d2e5b9a1dd0140aaf

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 10 08:25:35 2009 -0700

glsl/pp: make some functions static

---

 src/glsl/pp/sl_pp_token.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/glsl/pp/sl_pp_token.c b/src/glsl/pp/sl_pp_token.c
index 03f2f09..e9a60b6 100644
--- a/src/glsl/pp/sl_pp_token.c
+++ b/src/glsl/pp/sl_pp_token.c
@@ -35,7 +35,7 @@
 
 #define PURE_ERROR 256
 
-int
+static int
 _pure_getc(struct sl_pp_context *context)
 {
    char c;
@@ -52,7 +52,7 @@ _pure_getc(struct sl_pp_context *context)
 }
 
 
-void
+static void
 _pure_ungetc(struct sl_pp_context *context,
              int c)
 {
@@ -508,7 +508,7 @@ _tokenise_number(struct sl_pp_context *context,
 }
 
 
-int
+static int
 sl_pp_token_get(struct sl_pp_context *context,
                 struct sl_pp_token_info *out)
 {



More information about the mesa-commit mailing list