Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Include <sys/param.h> for DEV_BSIZE/DEV_BSHIFT



details:   https://anonhg.NetBSD.org/src/rev/70a24d87a24c
branches:  trunk
changeset: 447366:70a24d87a24c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 08 17:13:21 2019 +0000

description:
Include <sys/param.h> for DEV_BSIZE/DEV_BSHIFT

diffstat:

 sys/arch/bebox/stand/boot/wdc.c              |  3 ++-
 sys/arch/ews4800mips/stand/common/bfs_subr.c |  5 +++--
 sys/arch/hppa/stand/common/pdc.c             |  3 ++-
 sys/arch/mmeye/stand/boot/wdc.c              |  3 ++-
 4 files changed, 9 insertions(+), 5 deletions(-)

diffs (76 lines):

diff -r 84dce41a551a -r 70a24d87a24c sys/arch/bebox/stand/boot/wdc.c
--- a/sys/arch/bebox/stand/boot/wdc.c   Tue Jan 08 17:13:03 2019 +0000
+++ b/sys/arch/bebox/stand/boot/wdc.c   Tue Jan 08 17:13:21 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.2 2015/07/11 10:32:45 kamil Exp $    */
+/*     $NetBSD: wdc.c,v 1.3 2019/01/08 17:13:21 christos Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -29,6 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/param.h>
 #include <sys/types.h>
 #include <sys/disklabel.h>
 #include <sys/bootblock.h>
diff -r 84dce41a551a -r 70a24d87a24c sys/arch/ews4800mips/stand/common/bfs_subr.c
--- a/sys/arch/ews4800mips/stand/common/bfs_subr.c      Tue Jan 08 17:13:03 2019 +0000
+++ b/sys/arch/ews4800mips/stand/common/bfs_subr.c      Tue Jan 08 17:13:21 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bfs_subr.c,v 1.3 2008/04/28 20:23:18 martin Exp $      */
+/*     $NetBSD: bfs_subr.c,v 1.4 2019/01/08 17:14:14 christos Exp $    */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -31,13 +31,14 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: bfs_subr.c,v 1.3 2008/04/28 20:23:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bfs_subr.c,v 1.4 2019/01/08 17:14:14 christos Exp $");
 #ifdef _STANDALONE
 #include <lib/libsa/stand.h>
 #include <lib/libkern/libkern.h>
 #include "local.h"
 #endif
 
+#include <sys/param.h>
 #include <sys/types.h>
 #include <sys/systm.h>
 #include <sys/errno.h>
diff -r 84dce41a551a -r 70a24d87a24c sys/arch/hppa/stand/common/pdc.c
--- a/sys/arch/hppa/stand/common/pdc.c  Tue Jan 08 17:13:03 2019 +0000
+++ b/sys/arch/hppa/stand/common/pdc.c  Tue Jan 08 17:13:21 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pdc.c,v 1.2 2018/09/05 07:32:45 riastradh Exp $        */
+/*     $NetBSD: pdc.c,v 1.3 2019/01/08 17:14:52 christos Exp $ */
 
 /*     $OpenBSD: pdc.c,v 1.10 1999/05/06 02:27:44 mickey Exp $ */
 
@@ -61,6 +61,7 @@
  *     Utah $Hdr: pdc.c 1.8 92/03/14$
  */
 
+#include <sys/param.h>
 #include <sys/time.h>
 #include "libsa.h"
 #include <sys/reboot.h>
diff -r 84dce41a551a -r 70a24d87a24c sys/arch/mmeye/stand/boot/wdc.c
--- a/sys/arch/mmeye/stand/boot/wdc.c   Tue Jan 08 17:13:03 2019 +0000
+++ b/sys/arch/mmeye/stand/boot/wdc.c   Tue Jan 08 17:13:21 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc.c,v 1.2 2015/07/11 10:32:46 kamil Exp $    */
+/*     $NetBSD: wdc.c,v 1.3 2019/01/08 17:15:31 christos Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -29,6 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <sys/param.h>
 #include <sys/types.h>
 #include <sys/disklabel.h>
 #include <sys/bootblock.h>



Home | Main Index | Thread Index | Old Index