Silent LINT: add 2 stubs (update_crc32 and sctp_finalize_crc32) to fix LIBALIAS + SCTP_NO_CSUM case.

This commit is contained in:
piso 2009-02-08 03:03:55 +00:00
parent ff2d340da8
commit 6ae5f1f310

View File

@ -729,7 +729,18 @@ sctp_finalize_crc32(uint32_t crc32c)
#endif
return (crc32c);
}
#else
uint32_t
update_crc32(uint32_t crc32c, unsigned char *buffer, unsigned int length) {
return (0);
}
uint32_t
sctp_finalize_crc32(uint32_t crc32c)
{
return (0);
}
#endif /* !defined(SCTP_WITH_NO_CSUM) */
#if defined(SCTP_WITH_NO_CSUM)