svn commit: r188299 - head/sys/netinet
Paolo Pisati
piso at FreeBSD.org
Sat Feb 7 19:03:55 PST 2009
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)
More information about the svn-src-all
mailing list