aboutsummaryrefslogtreecommitdiff
path: root/adler32.c
diff options
context:
space:
mode:
Diffstat (limited to 'adler32.c')
-rw-r--r--adler32.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/adler32.c b/adler32.c
index 3eafddf..019a233 100644
--- a/adler32.c
+++ b/adler32.c
@@ -60,10 +60,10 @@ local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
60#endif 60#endif
61 61
62/* ========================================================================= */ 62/* ========================================================================= */
63uLong ZEXPORT adler32(adler, buf, len) 63uLong ZEXPORT adler32_z(adler, buf, len)
64 uLong adler; 64 uLong adler;
65 const Bytef *buf; 65 const Bytef *buf;
66 uInt len; 66 z_size_t len;
67{ 67{
68 unsigned long sum2; 68 unsigned long sum2;
69 unsigned n; 69 unsigned n;
@@ -131,6 +131,15 @@ uLong ZEXPORT adler32(adler, buf, len)
131} 131}
132 132
133/* ========================================================================= */ 133/* ========================================================================= */
134uLong ZEXPORT adler32(adler, buf, len)
135 uLong adler;
136 const Bytef *buf;
137 uInt len;
138{
139 return adler32_z(adler, buf, len);
140}
141
142/* ========================================================================= */
134local uLong adler32_combine_(adler1, adler2, len2) 143local uLong adler32_combine_(adler1, adler2, len2)
135 uLong adler1; 144 uLong adler1;
136 uLong adler2; 145 uLong adler2;