diff options
author | piso <piso@FreeBSD.org> | 2009-02-08 03:03:55 +0000 |
---|---|---|
committer | piso <piso@FreeBSD.org> | 2009-02-08 03:03:55 +0000 |
commit | 6ae5f1f3109d4b319d0559a4b7fb7e1c1eccef95 (patch) | |
tree | a40b93d8406b34ed8aeca8025c2ae3f70edf370d /sys/netinet/sctp_crc32.c | |
parent | ff2d340da8501a0b31fd009043d3076ba094a95b (diff) | |
download | FreeBSD-src-6ae5f1f3109d4b319d0559a4b7fb7e1c1eccef95.zip FreeBSD-src-6ae5f1f3109d4b319d0559a4b7fb7e1c1eccef95.tar.gz |
Silent LINT: add 2 stubs (update_crc32 and sctp_finalize_crc32) to fix LIBALIAS + SCTP_NO_CSUM case.
Diffstat (limited to 'sys/netinet/sctp_crc32.c')
-rw-r--r-- | sys/netinet/sctp_crc32.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/netinet/sctp_crc32.c b/sys/netinet/sctp_crc32.c index 3fba39e..59d43eb 100644 --- a/sys/netinet/sctp_crc32.c +++ b/sys/netinet/sctp_crc32.c @@ -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) |