summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-08 10:30:34 +0000
committermsmith <msmith@FreeBSD.org>2002-01-08 10:30:34 +0000
commit19aab9d4102361fd7d48b323e0dac2d1bceacd7a (patch)
tree6c9deb6a164b563e094b93614828c6f5b44b2e75 /sys/netgraph
parente814937e0b8929748ad80c27bda32c1532131084 (diff)
downloadFreeBSD-src-19aab9d4102361fd7d48b323e0dac2d1bceacd7a.zip
FreeBSD-src-19aab9d4102361fd7d48b323e0dac2d1bceacd7a.tar.gz
Staticise the socket list.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index f570355..f34fa7f 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -148,7 +148,7 @@ static u_long ngpdg_sendspace = 20 * 1024; /* really max datagram size */
static u_long ngpdg_recvspace = 20 * 1024;
/* List of all sockets */
-LIST_HEAD(, ngpcb) ngsocklist;
+static LIST_HEAD(, ngpcb) ngsocklist;
#define sotongpcb(so) ((struct ngpcb *)(so)->so_pcb)
OpenPOWER on IntegriCloud