summaryrefslogtreecommitdiffstats
path: root/cpukit/zlib/crc32.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/crc32.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/crc32.c')
-rw-r--r--cpukit/zlib/crc32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/zlib/crc32.c b/cpukit/zlib/crc32.c
index 6b81fb4a1c..c97c869aa1 100644
--- a/cpukit/zlib/crc32.c
+++ b/cpukit/zlib/crc32.c
@@ -433,6 +433,7 @@ uLong ZEXPORT crc32_combine(crc1, crc2, len2)
return crc32_combine_(crc1, crc2, len2);
}
+#if (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64))
uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
uLong crc1;
uLong crc2;
@@ -440,3 +441,4 @@ uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
{
return crc32_combine_(crc1, crc2, len2);
}
+#endif /* (defined(_LARGEFILE64_SOURCE)||(_FILE_OFFSET_BITS == 64)) */