summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-30 11:16:01 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:06:55 +0900
commit5eb7693cd909511308b6c2828686d51375a3506a (patch)
tree63b1a2d4673f76dfa220b89c91b81fa0f2b9ef06 /device
parentfc4381de43acbf602e30ab31f73e47230caf2638 (diff)
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.
Diffstat (limited to 'device')
-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 */
}