From: Ian Romanick <ian.d.roman...@intel.com>

glcpp/glcpp.c:124:1: warning: ‘static’ is not at beginning of declaration 
[-Wold-style-declaration]
 const static struct option
 ^

Signed-off-by: Ian Romanick <ian.d.roman...@intel.com>
---
 src/glsl/glcpp/glcpp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/glcpp/glcpp.c b/src/glsl/glcpp/glcpp.c
index ca18801..5144516 100644
--- a/src/glsl/glcpp/glcpp.c
+++ b/src/glsl/glcpp/glcpp.c
@@ -121,7 +121,7 @@ enum {
        DISABLE_LINE_CONTINUATIONS_OPT = CHAR_MAX + 1
 };
 
-const static struct option
+static const struct option
 long_options[] = {
        {"disable-line-continuations", no_argument, 0, 
DISABLE_LINE_CONTINUATIONS_OPT },
         {"debug",                      no_argument, 0, 'd'},
-- 
2.1.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to