From: Michal Krol Date: Thu, 24 Sep 2009 08:57:55 +0000 (+0200) Subject: glsl/pp: Add forward decls to silence gcc warnings. X-Git-Tag: 062012170305~15523^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92e33569f39a2fa9061a0c35c233c1db33820033;p=profile%2Fivi%2Fmesa.git glsl/pp: Add forward decls to silence gcc warnings. --- diff --git a/src/glsl/pp/sl_pp_macro.h b/src/glsl/pp/sl_pp_macro.h index 7af11c5..e3ae2fc 100644 --- a/src/glsl/pp/sl_pp_macro.h +++ b/src/glsl/pp/sl_pp_macro.h @@ -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; diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h index cece30b..29c7571 100644 --- a/src/glsl/pp/sl_pp_token.h +++ b/src/glsl/pp/sl_pp_token.h @@ -29,6 +29,8 @@ #define SL_PP_TOKEN_H +struct sl_pp_context; + enum sl_pp_token { SL_PP_WHITESPACE, SL_PP_NEWLINE,