glcpp: Silence GCC warning
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 10 Feb 2015 15:57:08 +0000 (07:57 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Feb 2015 20:29:58 +0000 (12:29 -0800)
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.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/glcpp/glcpp.c

index ca18801..5144516 100644 (file)
@@ -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'},