summaryrefslogtreecommitdiffstats
path: root/cpukit/zlib/gzlib.c
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2011-03-18 10:11:37 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2011-03-18 10:11:37 +0000
commit28947389ae968e2dd9a3d2039dd66004027852a1 (patch)
tree0e71721ff8c599a0d335d9c64ef6ec02f77d27a3 /cpukit/zlib/gzlib.c
parentThis commit was generated by cvs2svn to compensate for changes in r25198, (diff)
downloadrtems-28947389ae968e2dd9a3d2039dd66004027852a1.tar.bz2
Make code match prototype to eliminate warnings.
eliminate unneeded comilation of 64 bit functions
Diffstat (limited to 'cpukit/zlib/gzlib.c')
-rw-r--r--cpukit/zlib/gzlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/zlib/gzlib.c b/cpukit/zlib/gzlib.c
index 6fdb08a814..5d55549960 100644
--- a/cpukit/zlib/gzlib.c
+++ b/cpukit/zlib/gzlib.c
@@ -199,6 +199,7 @@ gzFile ZEXPORT gzopen(path, mode)
return gz_open(path, -1, mode);
}
+#if (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64))
/* -- see zlib.h -- */
gzFile ZEXPORT gzopen64(path, mode)
const char *path;
@@ -206,6 +207,7 @@ gzFile ZEXPORT gzopen64(path, mode)
{
return gz_open(path, -1, mode);
}
+#endif /* (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64)) */
/* -- see zlib.h -- */
gzFile ZEXPORT gzdopen(fd, mode)
@@ -386,6 +388,7 @@ z_off_t ZEXPORT gztell(file)
}
/* -- see zlib.h -- */
+
z_off64_t ZEXPORT gzoffset64(file)
gzFile file;
{