From 45bb9a62ba343250497c33da2b0bad78376d55b8 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Wed, 16 Nov 2011 12:47:33 -0600 Subject: [PATCH] [libpng15] Changed "PNG_EXTERN" to "extern" in sRGB table declarations in pngpriv.h --- pngpriv.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pngpriv.h b/pngpriv.h index c12974030..04cf55234 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -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)