glsl/pp: Add forward decls to silence gcc warnings.
authorMichal Krol <michal@vmware.com>
Thu, 24 Sep 2009 08:57:55 +0000 (10:57 +0200)
committerMichal Krol <michal@vmware.com>
Thu, 24 Sep 2009 08:57:55 +0000 (10:57 +0200)
src/glsl/pp/sl_pp_macro.h
src/glsl/pp/sl_pp_token.h

index 7af11c5..e3ae2fc 100644 (file)
@@ -31,6 +31,9 @@
 #include "sl_pp_token.h"
 
 
+struct sl_pp_context;
+struct sl_pp_process_state;
+
 struct sl_pp_macro_formal_arg {
    int name;
    struct sl_pp_macro_formal_arg *next;
index cece30b..29c7571 100644 (file)
@@ -29,6 +29,8 @@
 #define SL_PP_TOKEN_H
 
 
+struct sl_pp_context;
+
 enum sl_pp_token {
    SL_PP_WHITESPACE,
    SL_PP_NEWLINE,