Moved declaration of format-specific image Load functions to dedicated header
commit883cda48e326326004a04944198e2b10e25e6db3
authorChristophe CURIS <christophe.curis@free.fr>
Wed, 1 May 2013 18:26:29 +0000 (1 20:26 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 2 May 2013 19:48:45 +0000 (2 20:48 +0100)
tree76d8262ce75ebba8064d3f592249098d5f8581d1
parentcacc04d4a265a1a900f32289213ed7e4211cd914
Moved declaration of format-specific image Load functions to dedicated header

The functions are declared in different files but they were called
in another file which re-declared the prototypes. This is dangerous
as it can lead to misaligned prototypes when functions changes.

They are now grouped in the library internal header 'imgformat.h'
wrlib/Makefile.am
wrlib/gif.c
wrlib/imgformat.h [new file with mode: 0644]
wrlib/jpeg.c
wrlib/load.c
wrlib/nxpm.c
wrlib/png.c
wrlib/ppm.c
wrlib/tiff.c
wrlib/xpm.c