diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2015-02-10 07:57:08 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2015-02-17 12:29:58 -0800 |
commit | 147afac80cb00d34a787314ce5645a4688c88129 (patch) | |
tree | 4f4f12c662f3300c945742b9c2a6f79188513651 /src/glsl/glcpp | |
parent | 2ead74888a70481aa40b5b6ede42279e1917e66c (diff) | |
download | external_mesa3d-147afac80cb00d34a787314ce5645a4688c88129.zip external_mesa3d-147afac80cb00d34a787314ce5645a4688c88129.tar.gz external_mesa3d-147afac80cb00d34a787314ce5645a4688c88129.tar.bz2 |
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 <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/glsl/glcpp')
-rw-r--r-- | src/glsl/glcpp/glcpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'}, |