fofi/FoFiEncodings.cc | 18 ++++++++++++++++-- fofi/FoFiEncodings.h | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-)
New commits: commit 8321b400adf6c042cd630ceea7f54fcf6862211d Author: Albert Astals Cid <[email protected]> Date: Thu Dec 15 18:02:30 2016 +0100 Add one more const Makes clang happier (i.e. gives one warning less) diff --git a/fofi/FoFiEncodings.cc b/fofi/FoFiEncodings.cc index 5cea6fa..9fad1eb 100644 --- a/fofi/FoFiEncodings.cc +++ b/fofi/FoFiEncodings.cc @@ -6,6 +6,20 @@ // //======================================================================== +//======================================================================== +// +// Modified under the Poppler project - http://poppler.freedesktop.org +// +// All changes made under the Poppler project to this file are licensed +// under GPL version 2 or later +// +// Copyright (C) 2016 Albert Astals Cid <[email protected]> +// +// To see a description of the changes please see the Changelog file that +// came with your tarball or type make ChangeLog if you are building from git +// +//======================================================================== + #include <config.h> #ifdef USE_GCC_PRAGMAS @@ -19,7 +33,7 @@ // Type 1 and 1C font data //------------------------------------------------------------------------ -const char *fofiType1StandardEncoding[256] = { +const char * const fofiType1StandardEncoding[256] = { NULL, NULL, NULL, @@ -278,7 +292,7 @@ const char *fofiType1StandardEncoding[256] = { NULL }; -const char *fofiType1ExpertEncoding[256] = { +const char * const fofiType1ExpertEncoding[256] = { NULL, NULL, NULL, diff --git a/fofi/FoFiEncodings.h b/fofi/FoFiEncodings.h index ab80ad3..e744490 100644 --- a/fofi/FoFiEncodings.h +++ b/fofi/FoFiEncodings.h @@ -6,6 +6,20 @@ // //======================================================================== +//======================================================================== +// +// Modified under the Poppler project - http://poppler.freedesktop.org +// +// All changes made under the Poppler project to this file are licensed +// under GPL version 2 or later +// +// Copyright (C) 2016 Albert Astals Cid <[email protected]> +// +// To see a description of the changes please see the Changelog file that +// came with your tarball or type make ChangeLog if you are building from git +// +//======================================================================== + #ifndef FOFIENCODINGS_H #define FOFIENCODINGS_H @@ -19,8 +33,8 @@ // Type 1 and 1C font data //------------------------------------------------------------------------ -extern const char *fofiType1StandardEncoding[256]; -extern const char *fofiType1ExpertEncoding[256]; +extern const char * const fofiType1StandardEncoding[256]; +extern const char * const fofiType1ExpertEncoding[256]; //------------------------------------------------------------------------ // Type 1C font data _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
