From 45d465f6371b2e16d06ab54c5834ca451418fb7e Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Thu, 30 Oct 2008 10:20:57 +0100 Subject: [PATCH] update_adler32 -> adler32_update (similar to {md5,sha1}_update) --- ucw/adler32.c | 2 +- ucw/lizard.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ucw/adler32.c b/ucw/adler32.c index 87a392cc..28b2b05a 100644 --- a/ucw/adler32.c +++ b/ucw/adler32.c @@ -21,7 +21,7 @@ #define MOD(a) a %= BASE uns -update_adler32(uns adler, const byte *buf, uns len) +adler32_update(uns adler, const byte *buf, uns len) { uns s1 = adler & 0xffff; uns s2 = (adler >> 16) & 0xffff; diff --git a/ucw/lizard.h b/ucw/lizard.h index 616d17b0..547f181d 100644 --- a/ucw/lizard.h +++ b/ucw/lizard.h @@ -38,12 +38,12 @@ void lizard_free(struct lizard_buffer *buf); byte *lizard_decompress_safe(const byte *in, struct lizard_buffer *buf, uns expected_length); /* adler32.c */ -uns update_adler32(uns adler, const byte *ptr, uns len); +uns adler32_update(uns adler, const byte *ptr, uns len); static inline uns adler32(const byte *buf, uns len) { - return update_adler32(1, buf, len); + return adler32_update(1, buf, len); } #endif -- 2.39.5