Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 15:03:36 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266619 - head/sys/netinet
Message-ID:  <201405241503.s4OF3aFs041894@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat May 24 15:03:36 2014
New Revision: 266619
URL: http://svnweb.freebsd.org/changeset/base/266619

Log:
  syncache_lookup() is a file local function.  Make it static and
  take it out of the public KPI; seems it was never used elsewhere.
  
  MFC after:	2 weeks

Modified:
  head/sys/netinet/tcp_syncache.c

Modified: head/sys/netinet/tcp_syncache.c
==============================================================================
--- head/sys/netinet/tcp_syncache.c	Sat May 24 14:01:18 2014	(r266618)
+++ head/sys/netinet/tcp_syncache.c	Sat May 24 15:03:36 2014	(r266619)
@@ -122,7 +122,6 @@ SYSCTL_VNET_INT(_net_inet_tcp, OID_AUTO,
 static void	 syncache_drop(struct syncache *, struct syncache_head *);
 static void	 syncache_free(struct syncache *);
 static void	 syncache_insert(struct syncache *, struct syncache_head *);
-struct syncache *syncache_lookup(struct in_conninfo *, struct syncache_head **);
 static int	 syncache_respond(struct syncache *);
 static struct	 socket *syncache_socket(struct syncache *, struct socket *,
 		    struct mbuf *m);
@@ -482,7 +481,7 @@ syncache_timer(void *xsch)
  * Find an entry in the syncache.
  * Returns always with locked syncache_head plus a matching entry or NULL.
  */
-struct syncache *
+static struct syncache *
 syncache_lookup(struct in_conninfo *inc, struct syncache_head **schp)
 {
 	struct syncache *sc;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405241503.s4OF3aFs041894>