Date: Sun, 8 Feb 2009 03:03:55 +0000 (UTC) From: Paolo Pisati <piso@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188299 - head/sys/netinet Message-ID: <200902080303.n1833trt010041@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: piso Date: Sun Feb 8 03:03:55 2009 New Revision: 188299 URL: http://svn.freebsd.org/changeset/base/188299 Log: Silent LINT: add 2 stubs (update_crc32 and sctp_finalize_crc32) to fix LIBALIAS + SCTP_NO_CSUM case. Modified: head/sys/netinet/sctp_crc32.c Modified: head/sys/netinet/sctp_crc32.c ============================================================================== --- head/sys/netinet/sctp_crc32.c Sun Feb 8 03:02:06 2009 (r188298) +++ head/sys/netinet/sctp_crc32.c Sun Feb 8 03:03:55 2009 (r188299) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902080303.n1833trt010041>