2011.04.12 02:06 "[Tiff] Libtiff v4.0.0beta7 released", by Bob Friesenhahn

2011.04.13 14:32 "Re: [Tiff] Libtiff v4.0.0beta7 released", by Edward Lam

On 4/13/2011 9:44 AM, Bob Friesenhahn wrote:

If a function no longer has any use, we should simply delete it since this is the time to do so. To me "deprecate" means that the function continues to work, but that code should move away from it.

Even better, do I need to submit a patch? :)

Patches always help. :-)

Attached.

-Edward

diff -urN tiff-4.0.0beta7.orig/libtiff/libtiff.def tiff-4.0.0beta7/libtiff/libtiff.def --- tiff-4.0.0beta7.orig/libtiff/libtiff.def 2010-11-27 12:25:48.000000000 -0500 +++ tiff-4.0.0beta7/libtiff/libtiff.def 2011-04-13 10:26:22.397250000 -0400

@@ -106,9 +106,6 @@
        _TIFFmemcmp
        TIFFCreateDirectory
        TIFFSetTagExtender

-int
-TIFFMergeFieldInfo(TIFF* tif, const TIFFFieldInfo info[], uint32 n)
-{

-

-

- }
-

- }
-

- }
-
- return 0;
-}
-
-const TIFFFieldInfo*
-TIFFFindFieldInfoByName(TIFF* tif, const char *field_name, TIFFDataType dt)
-{
-#if 0

-

- }
-
- /* NB: use sorted search (e.g. binary search) */
-

-

-#else

-#endif
- return NULL;
-}
-
-const TIFFFieldInfo*
-TIFFFindFieldInfo(TIFF* tif, uint32 tag, TIFFDataType dt)
-{
-#if 0

-

- }
-
- /* NB: use sorted search (e.g. binary search) */
-

-

-#else

-#endif
- return NULL;
-}
-
 /* vim: set ts=8 sts=8 sw=8 noet: */

 /*

diff -urN tiff-4.0.0beta7.orig/libtiff/tiffio.h tiff-4.0.0beta7/libtiff/tiffio.h

--- tiff-4.0.0beta7.orig/libtiff/tiffio.h       2010-03-10 13:56:49.000000000 -0500

+++ tiff-4.0.0beta7/libtiff/tiffio.h    2011-04-13 10:24:58.850375000 -0400

@@ -512,28 +512,6 @@
 extern void TIFFYCbCrtoRGB(TIFFYCbCrToRGB *, uint32, int32, int32,

     uint32 *, uint32 *, uint32 *);

-/****************************************************************************
- *               O B S O L E T E D    I N T E R F A C E S

-
 #if defined(c_plusplus) || defined(__cplusplus)
 }
 #endif