summaryrefslogtreecommitdiff
path: root/device/cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/cons.c')
-rw-r--r--device/cons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/device/cons.c b/device/cons.c
index ceba7f2..b35e79f 100644
--- a/device/cons.c
+++ b/device/cons.c
@@ -30,7 +30,7 @@
#ifdef MACH_KMSG
#include <device/io_req.h>
#include <device/kmsg.h>
-#endif
+#endif /* MACH_KMSG */
static boolean_t cn_inited = FALSE;
static struct consdev *cn_tab = 0; /* physical console device info */
@@ -55,7 +55,7 @@ void (*romputc)() = 0;
static char consbuf[CONSBUFSIZE] = { 0 };
static char *consbp = consbuf;
static boolean_t consbufused = FALSE;
-#endif
+#endif /* CONSBUFSIZE > 0 */
void
cninit()
@@ -108,7 +108,7 @@ cninit()
} while (cbp != consbp);
consbufused = FALSE;
}
-#endif
+#endif /* CONSBUFSIZE > 0 */
cn_inited = TRUE;
return;
}
@@ -180,5 +180,5 @@ cnputc(c)
if (consbp >= &consbuf[CONSBUFSIZE])
consbp = consbuf;
}
-#endif
+#endif /* CONSBUFSIZE > 0 */
}