Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/dev Explicitly include <sys/kernel.h> for hz(...



details:   https://anonhg.NetBSD.org/src/rev/aa2158a7f3e6
branches:  trunk
changeset: 372505:aa2158a7f3e6
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Dec 03 16:56:40 2022 +0000

description:
Explicitly include <sys/kernel.h> for hz(9) as man pages says.

XXX: it looks sys/param.h r1.615 and later also has extern int hz

diffstat:

 sys/arch/hp300/dev/rd.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 7dc1775923eb -r aa2158a7f3e6 sys/arch/hp300/dev/rd.c
--- a/sys/arch/hp300/dev/rd.c   Sat Dec 03 16:06:20 2022 +0000
+++ b/sys/arch/hp300/dev/rd.c   Sat Dec 03 16:56:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rd.c,v 1.123 2022/12/03 06:08:18 tsutsui Exp $ */
+/*     $NetBSD: rd.c,v 1.124 2022/12/03 16:56:40 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -72,12 +72,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.123 2022/12/03 06:08:18 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.124 2022/12/03 16:56:40 tsutsui Exp $");
 
 #include "opt_useleds.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/kernel.h>
 #include <sys/buf.h>
 #include <sys/bufq.h>
 #include <sys/conf.h>



Home | Main Index | Thread Index | Old Index