projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ead748
)
glcpp: Silence GCC warning
author
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 10 Feb 2015 15:57:08 +0000
(07:57 -0800)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/glsl/glcpp/glcpp.c
b/src/glsl/glcpp/glcpp.c
index
ca18801
..
5144516
100644
(file)
--- 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'},