cvs: gd /libgd/src gd_tiff.c

From: Date: Tue, 23 Oct 2007 00:38:42 +0000
Subject: cvs: gd /libgd/src gd_tiff.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-320@lists.php.net to get a copy of this message
mattias Tue Oct 23 00:38:42 2007 UTC Modified files: /gd/libgd/src gd_tiff.c Log: - mark all non-exported functions as static (Nuno Lopes) http://cvs.php.net/viewvc.cgi/gd/libgd/src/gd_tiff.c?r1=1.14&r2=1.15&diff_format=u Index: gd/libgd/src/gd_tiff.c diff -u gd/libgd/src/gd_tiff.c:1.14 gd/libgd/src/gd_tiff.c:1.15 --- gd/libgd/src/gd_tiff.c:1.14 Tue Oct 23 00:33:52 2007 +++ gd/libgd/src/gd_tiff.c Tue Oct 23 00:38:42 2007 @@ -27,7 +27,7 @@ ---------------------------------------------------------------------------- */ -/* $Id: gd_tiff.c,v 1.14 2007/10/23 00:33:52 mattias Exp $ */ +/* $Id: gd_tiff.c,v 1.15 2007/10/23 00:38:42 mattias Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -110,7 +110,7 @@ /* TIFFReadWriteProc tiff_readproc - Will use gdIOCtx procs to read required (previously written) TIFF file content */ -tsize_t tiff_readproc(thandle_t clientdata, tdata_t data, tsize_t size) +static tsize_t tiff_readproc(thandle_t clientdata, tdata_t data, tsize_t size) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; @@ -122,7 +122,7 @@ /* TIFFReadWriteProc tiff_writeproc - Will use gdIOCtx procs to write out TIFF data */ -tsize_t tiff_writeproc(thandle_t clientdata, tdata_t data, tsize_t size) +static tsize_t tiff_writeproc(thandle_t clientdata, tdata_t data, tsize_t size) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; @@ -138,7 +138,7 @@ /* TIFFSeekProc tiff_seekproc * used to move around the partially written TIFF */ -toff_t tiff_seekproc(thandle_t clientdata, toff_t offset, int from) +static toff_t tiff_seekproc(thandle_t clientdata, toff_t offset, int from) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; @@ -172,7 +172,7 @@ } /* TIFFCloseProc tiff_closeproc - used to finally close the TIFF file */ -int tiff_closeproc(thandle_t clientdata) +static int tiff_closeproc(thandle_t clientdata) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; @@ -183,20 +183,20 @@ } /* TIFFSizeProc tiff_sizeproc */ -toff_t tiff_sizeproc(thandle_t clientdata) +static toff_t tiff_sizeproc(thandle_t clientdata) { tiff_handle *th = (tiff_handle *)clientdata; return th->size; } /* TIFFMapFileProc tiff_mapproc() */ -int tiff_mapproc(thandle_t h, tdata_t *d, toff_t *o) +static int tiff_mapproc(thandle_t h, tdata_t *d, toff_t *o) { return 0; } /* TIFFUnmapFileProc tiff_unmapproc */ -void tiff_unmapproc(thandle_t h, tdata_t d, toff_t o) +static void tiff_unmapproc(thandle_t h, tdata_t d, toff_t o) { }

« previous php.gd.cvs (#320) next »