diff options
Diffstat (limited to 'sys/net/zlib.h')
-rw-r--r-- | sys/net/zlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/zlib.h b/sys/net/zlib.h index a9d3a78..35119fb 100644 --- a/sys/net/zlib.h +++ b/sys/net/zlib.h @@ -88,8 +88,10 @@ extern "C" { # define compress z_compress # define uncompress z_uncompress # define adler32 z_adler32 +#if 0 # define crc32 z_crc32 # define get_crc_table z_get_crc_table +#endif # define Byte z_Byte # define uInt z_uInt @@ -958,6 +960,7 @@ extern uLong EXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); if (adler != original_adler) error(); */ +#if 0 extern uLong EXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); /* Update a running crc with the bytes buf[0..len-1] and return the updated @@ -973,6 +976,7 @@ extern uLong EXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); } if (crc != original_crc) error(); */ +#endif /* various hacks, don't look :) */ |