From b95ab39ef3d92b20cafc749769183be32e199265 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Thu, 19 Jul 2007 15:44:31 +0000 Subject: [PATCH] Put all callback functions declarations inside extern "C" block. --- libtiff/tif_stream.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libtiff/tif_stream.cxx b/libtiff/tif_stream.cxx index 62fffb48..900e3aa6 100644 --- a/libtiff/tif_stream.cxx +++ b/libtiff/tif_stream.cxx @@ -1,4 +1,4 @@ -/* $Id: tif_stream.cxx,v 1.9 2007-07-11 21:27:14 bfriesen Exp $ */ +/* $Id: tif_stream.cxx,v 1.10 2007-07-19 15:44:31 dron Exp $ */ /* * Copyright (c) 1988-1996 Sam Leffler @@ -93,7 +93,6 @@ extern "C" { static int _tiffDummyMapProc(thandle_t , void** base, toff_t* size ); static void _tiffDummyUnmapProc(thandle_t , void* base, toff_t size ); static TIFF* _tiffStreamOpen(const char* name, const char* mode, void *fd); -} struct tiffis_data { @@ -391,6 +390,8 @@ _tiffStreamOpen(const char* name, const char* mode, void *fd) return (tif); } +} /* extern "C" */ + TIFF* TIFFStreamOpen(const char* name, ostream *os) {