Source-Changes-HG archive

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

src: Remove unused malloc.h include.



details:   https://anonhg.NetBSD.org/src/rev/9c7245005a5b
branches:  trunk
changeset: 318328:9c7245005a5b
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Apr 18 07:38:02 2018 +0000
description:
Remove unused malloc.h include.

diffstat:

 sys/netipsec/ipsec_input.c  |  5 ++---
 sys/netipsec/ipsec_netbsd.c |  5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r cf835e3dfa21 -r 9c7245005a5b sys/netipsec/ipsec_input.c
--- a/sys/netipsec/ipsec_input.c        Wed Apr 18 07:36:26 2018 +0000
+++ b/sys/netipsec/ipsec_input.c        Wed Apr 18 07:38:02 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsec_input.c,v 1.64 2018/04/17 17:56:08 maxv Exp $    */
+/*     $NetBSD: ipsec_input.c,v 1.65 2018/04/18 07:38:02 maxv Exp $    */
 /*     $FreeBSD: src/sys/netipsec/ipsec_input.c,v 1.2.4.2 2003/03/28 20:32:53 sam Exp $        */
 /*     $OpenBSD: ipsec_input.c,v 1.63 2003/02/20 18:35:43 deraadt Exp $        */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.64 2018/04/17 17:56:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.65 2018/04/18 07:38:02 maxv Exp $");
 
 /*
  * IPsec input processing.
@@ -51,7 +51,6 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/domain.h>
 #include <sys/protosw.h>
diff -r cf835e3dfa21 -r 9c7245005a5b sys/netipsec/ipsec_netbsd.c
--- a/sys/netipsec/ipsec_netbsd.c       Wed Apr 18 07:36:26 2018 +0000
+++ b/sys/netipsec/ipsec_netbsd.c       Wed Apr 18 07:38:02 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsec_netbsd.c,v 1.51 2018/04/18 06:22:47 maxv Exp $   */
+/*     $NetBSD: ipsec_netbsd.c,v 1.52 2018/04/18 07:38:02 maxv Exp $   */
 /*     $KAME: esp_input.c,v 1.60 2001/09/04 08:43:19 itojun Exp $      */
 /*     $KAME: ah_input.c,v 1.64 2001/09/04 08:43:19 itojun Exp $       */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec_netbsd.c,v 1.51 2018/04/18 06:22:47 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec_netbsd.c,v 1.52 2018/04/18 07:38:02 maxv Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -41,7 +41,6 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/domain.h>
 #include <sys/protosw.h>



Home | Main Index | Thread Index | Old Index