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 7af11c5ece77241a30676e680941dc151b9cb14c..e3ae2fc71253b6cb3f0c72154df60215ebcb0347 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 cece30b62ddcaf0416abb63cee65976c18272dba..29c7571711e62fddcff54a73527d8e403efae6ed 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,