[Mesa-dev] [PATCH 1/5] glcpp: Silence GCC warning
Ian Romanick
idr at freedesktop.org
Fri Feb 13 12:52:34 PST 2015
From: Ian Romanick <ian.d.romanick at 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.romanick at 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
More information about the mesa-dev
mailing list