summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-05-27 20:20:55 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-05-27 20:20:55 +0000
commit7d65dffdf7e6340950f4e6611d50dbd89dcfd1f5 (patch)
tree782415f509f831186a6a98ed714e4cded8ad8bc0
parent3e76699962544b10c46cc79989129f3267142e85 (diff)
take static off tcp_mss_adv.
ok reyk@
-rw-r--r--sys/netinet/tcp_input.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 1dc889af11c..591a722e82f 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.202 2007/05/22 10:20:55 michele Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.203 2007/05/27 20:20:54 dlg Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -100,6 +100,8 @@ struct tcpiphdr tcp_saveti;
#include <netinet6/in6_var.h>
#include <netinet6/nd6.h>
+int tcp_mss_adv(struct ifnet *, int);
+
struct tcpipv6hdr tcp_saveti6;
/* for the packet header length in the mbuf */
@@ -3255,7 +3257,7 @@ tcp_newreno(tp, th)
}
#endif /* TCP_SACK */
-static int
+int
tcp_mss_adv(struct ifnet *ifp, int af)
{
int mss = 0;