summaryrefslogtreecommitdiff
path: root/libtiff
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2007-07-19 15:44:31 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2007-07-19 15:44:31 +0000
commitb95ab39ef3d92b20cafc749769183be32e199265 (patch)
treec432d979b1875cf8feb094fd5a028fb945a7828b /libtiff
parent224710a9af83a727c884f0867ab4770110052e7d (diff)
downloadlibtiff-git-b95ab39ef3d92b20cafc749769183be32e199265.tar.gz
Put all callback functions declarations inside extern "C" block.
Diffstat (limited to 'libtiff')
-rw-r--r--libtiff/tif_stream.cxx5
1 files 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)
{