diff mbox

[1/2] pngpriv: remove stray ifdef/endif directives

Message ID 1360074071-27671-1-git-send-email-mans.rullgard@linaro.org
State New
Headers show

Commit Message

Mans Rullgard Feb. 5, 2013, 2:21 p.m. UTC
---
 pngpriv.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/pngpriv.h b/pngpriv.h
index 37c08ec..ebea8b8 100644
--- a/pngpriv.h
+++ b/pngpriv.h
@@ -539,7 +539,6 @@ 
    /* Given a value 'linear' in the range 0..255*65535 calculate the 8-bit sRGB
     * encoded value with maximum error 0.646365.  Note that the input is not a
     * 16-bit value; it has been multiplied by 255! */
-#endif /* PNG_SIMPLIFIED_READ/WRITE */
 
 /* Added to libpng-1.6.0: scale a 16-bit value in the range 0..65535 to 0..255
  * by dividing by 257 *with rounding*.  This macro is exact for the given range.
@@ -691,7 +690,6 @@  typedef const png_uint_16p * png_const_uint_16pp;
 /* Added to libpng-1.5.7: sRGB conversion tables */
 #if defined PNG_SIMPLIFIED_READ_SUPPORTED ||\
    defined PNG_SIMPLIFIED_WRITE_SUPPORTED
-#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
 PNG_INTERNAL_DATA(const 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 closest 16-bit answers (no errors).