Source-Changes-HG archive

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

[src/trunk]: src/sys/arch remove explicit <machine/param.h> include, code inc...



details:   https://anonhg.NetBSD.org/src/rev/ac081527e16b
branches:  trunk
changeset: 447375:ac081527e16b
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Jan 08 19:53:40 2019 +0000

description:
remove explicit <machine/param.h> include, code including this already includes
<sys/param.h>

diffstat:

 sys/arch/sparc64/include/bootinfo.h |  3 +--
 sys/arch/xen/include/xen_shm.h      |  3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 9021bc2b5c52 -r ac081527e16b sys/arch/sparc64/include/bootinfo.h
--- a/sys/arch/sparc64/include/bootinfo.h       Tue Jan 08 19:41:09 2019 +0000
+++ b/sys/arch/sparc64/include/bootinfo.h       Tue Jan 08 19:53:40 2019 +0000
@@ -1,4 +1,4 @@
-/*       $NetBSD: bootinfo.h,v 1.8 2017/09/15 13:25:34 martin Exp $        */
+/*       $NetBSD: bootinfo.h,v 1.9 2019/01/08 19:53:40 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -29,7 +29,6 @@
 #ifndef _BOOTINFO_H_
 #define _BOOTINFO_H_
 
-#include <machine/param.h>
 #include <sparc/bootinfo.h>
 
 /*
diff -r 9021bc2b5c52 -r ac081527e16b sys/arch/xen/include/xen_shm.h
--- a/sys/arch/xen/include/xen_shm.h    Tue Jan 08 19:41:09 2019 +0000
+++ b/sys/arch/xen/include/xen_shm.h    Tue Jan 08 19:53:40 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xen_shm.h,v 1.9 2009/10/19 18:41:10 bouyer Exp $      */
+/*      $NetBSD: xen_shm.h,v 1.10 2019/01/08 19:59:24 jdolecek Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -26,7 +26,6 @@
  */
 
 #include "opt_xen.h"
-#include <machine/param.h>
 
 #define XENSHM_MAX_PAGES_PER_REQUEST (MAXPHYS >> PAGE_SHIFT)
 



Home | Main Index | Thread Index | Old Index