From: Ian Romanick Date: Tue, 10 Feb 2015 15:57:08 +0000 (-0800) Subject: glcpp: Silence GCC warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=147afac80cb00d34a787314ce5645a4688c88129;p=mesa.git glcpp: Silence GCC warning 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 Reviewed-by: Matt Turner --- diff --git a/src/glsl/glcpp/glcpp.c b/src/glsl/glcpp/glcpp.c index ca188015c7e..5144516a69c 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'},