]> mj.ucw.cz Git - libucw.git/blobdiff - lib/lizard.h
Added bfilesync().
[libucw.git] / lib / lizard.h
index c701e6f2bcb589d2ecfa4fdaab86f1ebd988f976..bc7f317ea15f86aac9672b1bfa6714f1dd470404 100644 (file)
@@ -39,6 +39,11 @@ byte *lizard_decompress_safe(byte *in, struct lizard_buffer *buf, uns expected_l
 
 /* adler32.c */
 uns update_adler32(uns adler, byte *ptr, uns len);
-uns adler32(byte *ptr, uns len);
+
+static inline uns
+adler32(byte *buf, uns len)
+{
+  return update_adler32(1, buf, len);
+}
 
 #endif