From 5eb7693cd909511308b6c2828686d51375a3506a Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 30 Nov 2013 11:16:01 +0100 Subject: Add comments after endifs * device/cons.c [MACH_KMSG]: Likewise. [CONSBUFSIZE > 0]: Likewise. * i386/i386/trap.c [MACH_KDB]: Likewise. [MACH_PV_PAGETABLES]: Likewise. * i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise. * ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise. * kern/act.c [ACTWATCH]: Likewise. * kern/refcount.h [MACHINE_REFCOUNT]: Likewise. * kern/task.c [FAST_TAS]: Likewise. --- device/cons.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'device') 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 #include -#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 */ } -- cgit v1.2.3