projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d97c0f1
)
removed duplicate const declaration
author
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Sat, 16 Sep 2017 09:25:13 +0000
(11:25 +0200)
committer
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Sun, 17 Sep 2017 07:23:48 +0000
(09:23 +0200)
During clang compilation the following warning
duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
extern const char const examples_dir[];
^
is shown. I removed the duplicate const declaration to avoid the
warning.
src/libpspp/version.h
patch
|
blob
|
history
diff --git
a/src/libpspp/version.h
b/src/libpspp/version.h
index b1826910d871390cae85ca894db2ac1b4210a040..7cd8f49693456404930f934869e28837aea7b994 100644
(file)
--- a/
src/libpspp/version.h
+++ b/
src/libpspp/version.h
@@
-36,7
+36,7
@@
extern const char build_system[];
extern const char locale_dir[];
/* The Examples directory */
-extern const char
const
examples_dir[];
+extern const char examples_dir[];
/* From the AUTHORS file */
extern const char *const authors[];