Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Remove function prototype that is no longer requ...
details: https://anonhg.NetBSD.org/src/rev/ed3bec3b6c30
branches: trunk
changeset: 356857:ed3bec3b6c30
user: rjs <rjs%NetBSD.org@localhost>
date: Tue Oct 17 14:53:23 2017 +0000
description:
Remove function prototype that is no longer required. NFC
diffstat:
sys/netinet/sctp_pcb.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (35 lines):
diff -r 187c6296f728 -r ed3bec3b6c30 sys/netinet/sctp_pcb.c
--- a/sys/netinet/sctp_pcb.c Tue Oct 17 14:48:42 2017 +0000
+++ b/sys/netinet/sctp_pcb.c Tue Oct 17 14:53:23 2017 +0000
@@ -1,5 +1,5 @@
/* $KAME: sctp_pcb.c,v 1.39 2005/06/16 18:29:25 jinmei Exp $ */
-/* $NetBSD: sctp_pcb.c,v 1.9 2017/06/28 13:22:28 rjs Exp $ */
+/* $NetBSD: sctp_pcb.c,v 1.10 2017/10/17 14:53:23 rjs Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.9 2017/06/28 13:22:28 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.10 2017/10/17 14:53:23 rjs Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1671,15 +1671,6 @@
return (0);
}
-#if !(defined(__FreeBSD__) || defined(__APPLE__))
-/*
- * Don't know why, but without this there is an unknown reference when
- * compiling NetBSD... hmm
- */
-extern void in6_sin6_2_sin (struct sockaddr_in *, struct sockaddr_in6 *sin6);
-#endif
-
-
int
sctp_inpcb_bind(struct socket *so, struct sockaddr *addr, struct lwp *l)
{
Home |
Main Index |
Thread Index |
Old Index