Change name of local variable "gamma" to "png_gamma"

This avoids a "shadowed declaration" warning from "gcc -Wshadow"
due to math.h using "gamma" on some platforms.
This commit is contained in:
Glenn Randers-Pehrson 2009-04-19 07:44:37 -05:00
parent 871f5cd155
commit 4ec05bf614

View File

@ -1,7 +1,7 @@
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.4.0 [April 15, 2009]
* Last changed in libpng 1.4.0 [April 18, 2009]
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)