Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Don't include <sys/device_calls.h> in t...



details:   https://anonhg.NetBSD.org/src/rev/980c971cf12b
branches:  trunk
changeset: 986283:980c971cf12b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Sep 17 16:16:18 2021 +0000

description:
Don't include <sys/device_calls.h> in the _STANDALONE case.

diffstat:

 sys/arch/sparc/sparc/promlib.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 99c0d45cc028 -r 980c971cf12b sys/arch/sparc/sparc/promlib.c
--- a/sys/arch/sparc/sparc/promlib.c    Fri Sep 17 14:49:03 2021 +0000
+++ b/sys/arch/sparc/sparc/promlib.c    Fri Sep 17 16:16:18 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: promlib.c,v 1.49 2021/09/15 17:33:08 thorpej Exp $ */
+/*     $NetBSD: promlib.c,v 1.50 2021/09/17 16:16:18 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: promlib.c,v 1.49 2021/09/15 17:33:08 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: promlib.c,v 1.50 2021/09/17 16:16:18 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sparc_arch.h"
@@ -45,12 +45,11 @@
 #include <sys/kernel.h>
 #include <sys/device.h>
 
-#include <sys/device_calls.h>
-
 #ifdef _STANDALONE
 #include <lib/libsa/stand.h>
 #define malloc(s,t,f)  alloc(s)
 #else
+#include <sys/device_calls.h>
 #include <sys/systm.h>
 #include <sys/malloc.h>
 #endif /* _STANDALONE */



Home | Main Index | Thread Index | Old Index