bug-hurd
[Top][All Lists]
Advanced

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

[PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int


From: Marin Ramesa
Subject: [PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int
Date: Thu, 5 Dec 2013 22:03:27 +0100

* i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int.
* i386/i386at/kd.c (immediate_console_enable): Likewise.

---
 i386/i386at/immc.c | 2 +-
 i386/i386at/kd.c   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/i386/i386at/immc.c b/i386/i386at/immc.c
index db64620..b85eb07 100644
--- a/i386/i386at/immc.c
+++ b/i386/i386at/immc.c
@@ -33,7 +33,7 @@
    so it can be used to debug things that happen very early
    before any devices are initialized.  */
 
-int immediate_console_enable = 1;
+boolean_t immediate_console_enable = TRUE;
 
 void
 immc_cnputc(unsigned char c)
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 3890c3d..cdc032c 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -1194,8 +1194,8 @@ kdinit()
        /* Now that we're set up, we no longer need or want the
            immediate console.  */
        {
-               extern int immediate_console_enable;
-               immediate_console_enable = 0;
+               extern boolean_t immediate_console_enable;
+               immediate_console_enable = FALSE;
        }
 
        /* The immediate console printed stuff at the bottom of the
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]