From: Ben Gras Date: Mon, 6 Feb 2006 15:02:19 +0000 (+0000) Subject: #ifdeffed out some debug code X-Git-Tag: v3.1.2a~377 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch09.html?a=commitdiff_plain;h=dc410a6245bca47034fcb859bca951b30719fba6;p=minix.git #ifdeffed out some debug code --- diff --git a/drivers/tty/tty.c b/drivers/tty/tty.c index 4da224165..a38364ec3 100644 --- a/drivers/tty/tty.c +++ b/drivers/tty/tty.c @@ -166,6 +166,7 @@ PUBLIC void main(void) register struct proc *rp; register tty_t *tp; +#if DEBUG kputc('H'); kputc('e'); kputc('l'); @@ -174,6 +175,7 @@ PUBLIC void main(void) kputc(','); kputc(' '); printf("TTY\n"); +#endif /* Initialize the TTY driver. */ tty_init(); @@ -1571,7 +1573,9 @@ PRIVATE void tty_init() if (sigaction(SIGKMESS,&sa,NULL)<0) panic("TTY","sigaction failed", errno); if (sigaction(SIGKSTOP,&sa,NULL)<0) panic("TTY","sigaction failed", errno); #endif +#if DEBUG printf("end of tty_init\n"); +#endif } /*===========================================================================*