diff options
author | Ian Romanick <[email protected]> | 2015-02-10 07:57:08 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-02-17 12:29:58 -0800 |
commit | 147afac80cb00d34a787314ce5645a4688c88129 (patch) | |
tree | 4f4f12c662f3300c945742b9c2a6f79188513651 /src/glsl | |
parent | 2ead74888a70481aa40b5b6ede42279e1917e66c (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl')
-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 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'}, |