Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Omit needless #include <sys/rnd.h>.



details:   https://anonhg.NetBSD.org/src/rev/1f56ce29831c
branches:  trunk
changeset: 931749:1f56ce29831c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Apr 30 03:30:10 2020 +0000

description:
Omit needless #include <sys/rnd.h>.

diffstat:

 sys/arch/x86/x86/cpu_rng.c                  |  3 +--
 sys/compat/common/rndpseudo_50.c            |  6 ++----
 sys/compat/netbsd32/netbsd32_compat_50.c    |  5 ++---
 sys/compat/netbsd32/netbsd32_rndpseudo_50.c |  6 ++----
 sys/netinet/sctp_pcb.c                      |  5 ++---
 5 files changed, 9 insertions(+), 16 deletions(-)

diffs (124 lines):

diff -r 0ab135089416 -r 1f56ce29831c sys/arch/x86/x86/cpu_rng.c
--- a/sys/arch/x86/x86/cpu_rng.c        Thu Apr 30 03:29:55 2020 +0000
+++ b/sys/arch/x86/x86/cpu_rng.c        Thu Apr 30 03:30:10 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_rng.c,v 1.11 2020/04/30 03:29:20 riastradh Exp $ */
+/* $NetBSD: cpu_rng.c,v 1.12 2020/04/30 03:30:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -48,7 +48,6 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/cpu.h>
-#include <sys/rnd.h>
 #include <sys/rndpool.h>
 #include <sys/rndsource.h>
 #include <sys/sha2.h>
diff -r 0ab135089416 -r 1f56ce29831c sys/compat/common/rndpseudo_50.c
--- a/sys/compat/common/rndpseudo_50.c  Thu Apr 30 03:29:55 2020 +0000
+++ b/sys/compat/common/rndpseudo_50.c  Thu Apr 30 03:30:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rndpseudo_50.c,v 1.6 2019/12/12 02:15:42 pgoyette Exp $        */
+/*     $NetBSD: rndpseudo_50.c,v 1.7 2020/04/30 03:30:10 riastradh Exp $       */
 
 /*-
  * Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rndpseudo_50.c,v 1.6 2019/12/12 02:15:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rndpseudo_50.c,v 1.7 2020/04/30 03:30:10 riastradh Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -38,8 +38,6 @@
 
 #include <sys/param.h>
 #include <sys/file.h>
-
-#include <sys/rnd.h>
 #include <sys/module_hook.h>
 #include <sys/compat_stub.h>
 
diff -r 0ab135089416 -r 1f56ce29831c sys/compat/netbsd32/netbsd32_compat_50.c
--- a/sys/compat/netbsd32/netbsd32_compat_50.c  Thu Apr 30 03:29:55 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_50.c  Thu Apr 30 03:30:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_compat_50.c,v 1.48 2020/03/15 12:46:02 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_compat_50.c,v 1.49 2020/04/30 03:30:10 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2008, 2020 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.48 2020/03/15 12:46:02 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.49 2020/04/30 03:30:10 riastradh Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -62,7 +62,6 @@
 #include <sys/dirent.h>
 #include <sys/kauth.h>
 #include <sys/vfs_syscalls.h>
-#include <sys/rnd.h>
 #include <sys/compat_stub.h>
 #include <sys/module_hook.h>
 
diff -r 0ab135089416 -r 1f56ce29831c sys/compat/netbsd32/netbsd32_rndpseudo_50.c
--- a/sys/compat/netbsd32/netbsd32_rndpseudo_50.c       Thu Apr 30 03:29:55 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_rndpseudo_50.c       Thu Apr 30 03:30:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_rndpseudo_50.c,v 1.4 2019/09/26 01:32:09 christos Exp $       */
+/*     $NetBSD: netbsd32_rndpseudo_50.c,v 1.5 2020/04/30 03:30:10 riastradh Exp $      */
 
 /*-
  * Copyright (c) 1997-2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_rndpseudo_50.c,v 1.4 2019/09/26 01:32:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_rndpseudo_50.c,v 1.5 2020/04/30 03:30:10 riastradh Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -40,8 +40,6 @@
 #include <sys/param.h>
 #include <sys/file.h>
 
-#include <sys/rnd.h>
-
 #include <compat/netbsd32/netbsd32.h>
 #include <compat/sys/rnd.h>
 
diff -r 0ab135089416 -r 1f56ce29831c sys/netinet/sctp_pcb.c
--- a/sys/netinet/sctp_pcb.c    Thu Apr 30 03:29:55 2020 +0000
+++ b/sys/netinet/sctp_pcb.c    Thu Apr 30 03:30:10 2020 +0000
@@ -1,5 +1,5 @@
 /* $KAME: sctp_pcb.c,v 1.39 2005/06/16 18:29:25 jinmei Exp $ */
-/* $NetBSD: sctp_pcb.c,v 1.20 2020/01/19 20:51:13 riastradh Exp $ */
+/* $NetBSD: sctp_pcb.c,v 1.21 2020/04/30 03:30:10 riastradh Exp $ */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.20 2020/01/19 20:51:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.21 2020/04/30 03:30:10 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -53,7 +53,6 @@
 #include <sys/kauth.h>
 #include <sys/kernel.h>
 #include <sys/sysctl.h>
-#include <sys/rnd.h>
 #include <sys/callout.h>
 
 #include <machine/limits.h>



Home | Main Index | Thread Index | Old Index