]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/adler32.c
Heap: Interface cleanup
[libucw.git] / ucw / adler32.c
index 87a392ccd0bd2a80754b311cc5387e36e755977f..174b611d765c3ee0225200c8eb0ad094dde5ceed 100644 (file)
@@ -7,8 +7,8 @@
  *     distribution and use, see copyright notice in zlib.h.
  */
 
-#include "ucw/lib.h"
-#include "ucw/lizard.h"
+#include <ucw/lib.h>
+#include <ucw/lizard.h>
 
 #define BASE 65521UL   /* largest prime smaller than 65536 */
 #define NMAX 5552      /* NMAX is the largest n such that 255n(n+1)/2 + (n+1)(BASE-1) <= 2^32-1 */
@@ -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;