Mesa (master): glsl/pp: Silence GCC "no previous prototype" warning.

Vinson Lee vlee at kemper.freedesktop.org
Tue Jan 26 08:48:31 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Jan 26 00:45:54 2010 -0800

glsl/pp: Silence GCC "no previous prototype" warning.

---

 src/glsl/pp/sl_pp_purify.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/pp/sl_pp_purify.c b/src/glsl/pp/sl_pp_purify.c
index b50f819..acc000c 100644
--- a/src/glsl/pp/sl_pp_purify.c
+++ b/src/glsl/pp/sl_pp_purify.c
@@ -140,7 +140,7 @@ sl_pp_purify_state_init(struct sl_pp_purify_state *state,
 }
 
 
-unsigned int
+static unsigned int
 _purify_comment(struct sl_pp_purify_state *state,
                 char *output,
                 unsigned int *current_line,




More information about the mesa-commit mailing list