From: Pavel Charvat Date: Thu, 30 Oct 2008 09:20:57 +0000 (+0100) Subject: update_adler32 -> adler32_update (similar to {md5,sha1}_update) X-Git-Tag: holmes-import~232 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=45d465f6371b2e16d06ab54c5834ca451418fb7e;p=libucw.git update_adler32 -> adler32_update (similar to {md5,sha1}_update) --- 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