Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet Add 'static', like the prototype.



details:   https://anonhg.NetBSD.org/src/rev/62931073f93c
branches:  trunk
changeset: 831716:62931073f93c
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Apr 11 07:15:12 2018 +0000

description:
Add 'static', like the prototype.

diffstat:

 sys/netinet/ip_reass.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f6287330a96c -r 62931073f93c sys/netinet/ip_reass.c
--- a/sys/netinet/ip_reass.c    Wed Apr 11 07:14:23 2018 +0000
+++ b/sys/netinet/ip_reass.c    Wed Apr 11 07:15:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_reass.c,v 1.14 2018/03/09 11:57:38 maxv Exp $       */
+/*     $NetBSD: ip_reass.c,v 1.15 2018/04/11 07:15:12 maxv Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1988, 1993
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_reass.c,v 1.14 2018/03/09 11:57:38 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_reass.c,v 1.15 2018/04/11 07:15:12 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -211,7 +211,7 @@
  *     datagram.  If a chain for reassembly of this datagram already exists,
  *     then it is given as 'fp'; otherwise have to make a chain.
  */
-struct mbuf *
+static struct mbuf *
 ip_reass(ipfr_qent_t *ipqe, ipfr_queue_t *fp, const u_int hash)
 {
        struct ip *ip = ipqe->ipqe_ip, *qip;



Home | Main Index | Thread Index | Old Index