From 28947389ae968e2dd9a3d2039dd66004027852a1 Mon Sep 17 00:00:00 2001 From: Thomas Doerfler Date: Fri, 18 Mar 2011 10:11:37 +0000 Subject: Make code match prototype to eliminate warnings. eliminate unneeded comilation of 64 bit functions --- cpukit/zlib/gzlib.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpukit/zlib/gzlib.c') 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; { -- cgit v1.2.3