/* Set open file's clientdata, and return previous value.  */
thandle_t TIFFSetClientdata(TIFF *tif, thandle_t newvalue)
/* Set open file's clientdata, and return previous value.  */
thandle_t TIFFSetClientdata(TIFF *tif, thandle_t newvalue)
{
	thandle_t m = tif->tif_clientdata;
	tif->tif_clientdata = newvalue;
	return m;
}