From 82a7ef29e80f303624c3dc4aa14f1a2e6f511e75 Mon Sep 17 00:00:00 2001 From: simonb Date: Sun, 9 Jan 2000 22:31:44 +0000 Subject: [PATCH] Move include of after Add some parentheses around part of an expression to keep gcc -Wall happy. --- sys/arch/pmax/pmax/machdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/pmax/pmax/machdep.c b/sys/arch/pmax/pmax/machdep.c index 678ef9488ccb..24be9263fd68 100644 --- a/sys/arch/pmax/pmax/machdep.c +++ b/sys/arch/pmax/pmax/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.157 2000/01/09 14:34:33 ad Exp $ */ +/* $NetBSD: machdep.c,v 1.158 2000/01/09 22:31:44 simonb Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -43,7 +43,7 @@ */ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.157 2000/01/09 14:34:33 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.158 2000/01/09 22:31:44 simonb Exp $"); #include "fs_mfs.h" #include "opt_ddb.h" @@ -66,11 +66,11 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.157 2000/01/09 14:34:33 ad Exp $"); #include #include #include -#include #include #include #include +#include /* XXX after */ #include @@ -634,7 +634,7 @@ haltsys: doshutdownhooks(); /* Finally, halt/reboot the system. */ - printf("%s\n\n", (howto & RB_HALT != 0) ? "halted." : "rebooting..."); + printf("%s\n\n", ((howto & RB_HALT) != 0) ? "halted." : "rebooting..."); prom_halt(howto & RB_HALT, bootstr); /*NOTREACHED*/ }