]> Zhao Yanbai Git Server - minix.git/commitdiff
#ifdeffed out some debug code
authorBen Gras <ben@minix3.org>
Mon, 6 Feb 2006 15:02:19 +0000 (15:02 +0000)
committerBen Gras <ben@minix3.org>
Mon, 6 Feb 2006 15:02:19 +0000 (15:02 +0000)
drivers/tty/tty.c

index 4da224165fd1e56248f96b9b7f18b3b64cc0ba1b..a38364ec3138f48a2aa973e463a7eccf5c6f39ba 100644 (file)
@@ -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
 }
 
 /*===========================================================================*