cvs: gd /libgd/src gd_tiff.c

From: Date: Sat, 06 Oct 2007 10:42:17 +0000
Subject: cvs: gd /libgd/src gd_tiff.c
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-300@lists.php.net to get a copy of this message
nlopess Sat Oct 6 10:42:17 2007 UTC Modified files: /gd/libgd/src gd_tiff.c Log: mark all non-exported functions as static http://cvs.php.net/viewvc.cgi/gd/libgd/src/gd_tiff.c?r1=1.7&r2=1.8&diff_format=u Index: gd/libgd/src/gd_tiff.c diff -u gd/libgd/src/gd_tiff.c:1.7 gd/libgd/src/gd_tiff.c:1.8 --- gd/libgd/src/gd_tiff.c:1.7 Fri Oct 5 05:42:06 2007 +++ gd/libgd/src/gd_tiff.c Sat Oct 6 10:42:17 2007 @@ -29,7 +29,7 @@ ---------------------------------------------------------------------------- */ -/* $Id: gd_tiff.c,v 1.7 2007/10/05 05:42:06 pajoye Exp $ */ +/* $Id: gd_tiff.c,v 1.8 2007/10/06 10:42:17 nlopess Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -68,7 +68,7 @@ tiff (assuming one already exists) */ -tiff_handle *new_tiff_handle(tiff_handle *t, gdIOCtx *g) +static tiff_handle *new_tiff_handle(tiff_handle *t, gdIOCtx *g) { t = (tiff_handle *) gdMalloc(sizeof(tiff_handle)); if(!t || !g) { @@ -85,7 +85,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; @@ -97,7 +97,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; @@ -113,7 +113,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; @@ -147,7 +147,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; @@ -158,20 +158,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) { } @@ -390,7 +390,7 @@ } RgbContext; -void readColorMap(TIFF *tiff, RgbContext ctx) +static void readColorMap(TIFF *tiff, RgbContext ctx) { uint32 dataSize;

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