[libpng17] Made transform implementation functions static. This makes the

internal functions called by png_do_{read|write}_transformations static.
On an x86-64 DLL build (Gentoo Linux) this reduces the size of the text
segment of the DLL by 1208 bytes, about 0.6%. It also simplifies
maintenance by removing the declarations from pngpriv.h and allowing
easier changes to the internal interfaces.
This commit is contained in:
John Bowler
2013-12-13 23:55:41 -06:00
committed by Glenn Randers-Pehrson
parent d45a632529
commit 3adf438f39
5 changed files with 33 additions and 126 deletions

View File

@@ -450,6 +450,12 @@ Version 1.7.0beta24 [December 14, 2013]
grayscale palette builder out of the png?tran.c files. The latter
isn't a transform function and is no longer used internally, and the
former MNG specific functions are better placed in pngread/pngwrite.c
Made transform implementation functions static. This makes the internal
functions called by png_do_{read|write}_transformations static. On an
x86-64 DLL build (Gentoo Linux) this reduces the size of the text
segment of the DLL by 1208 bytes, about 0.6%. It also simplifies
maintenance by removing the declarations from pngpriv.h and allowing
easier changes to the internal interfaces.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit