Mesa (glsl-pp-rework-2): glsl/pp: declare sl_pp_purify_options to silence warning

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


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

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

glsl/pp: declare sl_pp_purify_options to silence warning

---

 src/glsl/pp/sl_pp_token.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index 7a8fa2f..ba9834a 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -120,6 +120,8 @@ struct sl_pp_token_info {
    union sl_pp_token_data data;
 };
 
+struct sl_pp_purify_options;
+
 int
 sl_pp_tokenise(struct sl_pp_context *context,
                const char *input,



More information about the mesa-commit mailing list