From f2ebace3ac66deb6419c12c429885dd32282d72d Mon Sep 17 00:00:00 2001 From: asmodai Date: Sat, 29 Apr 2000 12:02:00 +0000 Subject: Remove dead debug code. This also removes a dependency/reference on COMPAT_43. --- libexec/rshd/rshd.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libexec') diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index cdc2ce1..666182b 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -228,14 +228,6 @@ doit(fromp) (void) signal(SIGINT, SIG_DFL); (void) signal(SIGQUIT, SIG_DFL); (void) signal(SIGTERM, SIG_DFL); -#ifdef DEBUG - { int t = open(_PATH_TTY, 2); - if (t >= 0) { - ioctl(t, TIOCNOTTY, (char *)0); - (void) close(t); - } - } -#endif fromp->su_port = ntohs((u_short)fromp->su_port); if (af != AF_INET #ifdef INET6 -- cgit v1.1