diff options
author | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2020-12-29 07:59:44 -0600 |
---|---|---|
committer | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2020-12-29 07:59:44 -0600 |
commit | b10bf3ab80094edace1978d0f3a5693b7f367580 (patch) | |
tree | d09bb9383731b6cae99770c03f873d24fe9f3c93 | |
parent | bee76f0a831c1f090a64f63bc730f248f0b4eb67 (diff) | |
download | libtiff-git-b10bf3ab80094edace1978d0f3a5693b7f367580.tar.gz |
_TIFFBuiltinCODECS should be const
-rw-r--r-- | libtiff/tif_codec.c | 2 | ||||
-rw-r--r-- | libtiff/tiffiop.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libtiff/tif_codec.c b/libtiff/tif_codec.c index b6c04f01..1ed3aa42 100644 --- a/libtiff/tif_codec.c +++ b/libtiff/tif_codec.c @@ -83,7 +83,7 @@ static int NotConfigured(TIFF*, int); #ifdef VMS const TIFFCodec _TIFFBuiltinCODECS[] = { #else -TIFFCodec _TIFFBuiltinCODECS[] = { +const TIFFCodec _TIFFBuiltinCODECS[] = { #endif { "None", COMPRESSION_NONE, TIFFInitDumpMode }, { "LZW", COMPRESSION_LZW, TIFFInitLZW }, diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h index 39b54c89..ab10c580 100644 --- a/libtiff/tiffiop.h +++ b/libtiff/tiffiop.h @@ -459,7 +459,7 @@ extern int TIFFInitWebP(TIFF*, int); #ifdef VMS extern const TIFFCodec _TIFFBuiltinCODECS[]; #else -extern TIFFCodec _TIFFBuiltinCODECS[]; +extern const TIFFCodec _TIFFBuiltinCODECS[]; #endif #if defined(__cplusplus) |