From: Friedrich Beckmann Date: Sat, 16 Sep 2017 09:25:13 +0000 (+0200) Subject: removed duplicate const declaration X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=f23b29294fe11981eca39360e9479ff25050b556 removed duplicate const declaration 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. --- diff --git a/src/libpspp/version.h b/src/libpspp/version.h index b1826910d8..7cd8f49693 100644 --- 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[];