diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2015-04-29 19:47:18 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2015-04-29 19:47:18 +0000 |
| commit | 8f96f18a1b846821bbf55d954f94122959e818c8 (patch) | |
| tree | 688476e68616434f9b504d41c24f63017457ef23 /libexec/getty | |
| parent | 7ad92e6ab71d5fcdbfbce101ef91ef123a103572 (diff) | |
Notes
Diffstat (limited to 'libexec/getty')
| -rw-r--r-- | libexec/getty/subr.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c index 26d2173aa144..992280a5e8c0 100644 --- a/libexec/getty/subr.c +++ b/libexec/getty/subr.c @@ -38,9 +38,6 @@ static const char rcsid[] = /* * Melbourne getty. */ -#ifdef DEBUG -#include <stdio.h> -#endif #include <stdlib.h> #include <string.h> #include <termios.h> @@ -160,17 +157,6 @@ gettable(const char *name, char *buf) fp->value = 1 ^ fp->invrt; } } - -#ifdef DEBUG - printf("name=\"%s\", buf=\"%s\"\r\n", name, buf); - for (sp = gettystrs; sp->field; sp++) - printf("cgetstr: %s=%s\r\n", sp->field, sp->value); - for (np = gettynums; np->field; np++) - printf("cgetnum: %s=%d\r\n", np->field, np->value); - for (fp = gettyflags; fp->field; fp++) - printf("cgetflags: %s='%c' set='%c'\r\n", fp->field, - fp->value + '0', fp->set + '0'); -#endif /* DEBUG */ } void |
