diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-11-16 12:47:33 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-11-16 12:47:33 -0600 |
commit | 45bb9a62ba343250497c33da2b0bad78376d55b8 (patch) | |
tree | 511f535b437d347842a4295e160c37897c6f8087 /pngpriv.h | |
parent | 89c2f842879fe815765058b9289e497b461d77b3 (diff) | |
download | libpng-45bb9a62ba343250497c33da2b0bad78376d55b8.tar.gz |
[libpng15] Changed "PNG_EXTERN" to "extern" in sRGB table declarations
in pngpriv.h
Diffstat (limited to 'pngpriv.h')
-rw-r--r-- | pngpriv.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -519,14 +519,14 @@ typedef PNG_CONST png_uint_16p FAR * png_const_uint_16pp; #if defined PNG_SIMPLIFIED_READ_SUPPORTED ||\ defined PNG_SIMPLIFIED_WRITE_SUPPORTED #ifdef PNG_SIMPLIFIED_READ_SUPPORTED -PNG_EXTERN /*PRIVATE*/ png_uint_16 png_sRGB_table[256]; +extern /*PRIVATE*/ png_uint_16 png_sRGB_table[256]; /* Convert from an sRGB encoded value 0..255 to a 16-bit linear value, * 0..65535. This table gives the closes 16-bit answers (no errors). */ #endif -PNG_EXTERN /*PRIVATE*/ png_uint_16 png_sRGB_base[512]; -PNG_EXTERN /*PRIVATE*/ png_byte png_sRGB_delta[512]; +extern /*PRIVATE*/ png_uint_16 png_sRGB_base[512]; +extern /*PRIVATE*/ png_byte png_sRGB_delta[512]; #define PNG_sRGB_FROM_LINEAR(linear) ((png_sRGB_base[(linear)>>15] +\ ((((linear)&0x7fff)*png_sRGB_delta[(linear)>>15])>>12)) >> 8) |