summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-05-06 09:38:44 +0000
committerkib <kib@FreeBSD.org>2015-05-06 09:38:44 +0000
commita71e3ed924c4eb55190c7068d8e80d5ebec65c20 (patch)
tree96b3e7d00e4c8467a557a5c2de832d86fe94ea7a /libexec
parentf1e7a5a4b53437e092f13a623a04a2fdf83471ce (diff)
downloadFreeBSD-src-a71e3ed924c4eb55190c7068d8e80d5ebec65c20.zip
FreeBSD-src-a71e3ed924c4eb55190c7068d8e80d5ebec65c20.tar.gz
MFC r282245:
Remove the #ifdef DEBUG code, which is not compilable on 64bit architectures. PR: 199767
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/subr.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 26d2173..992280a 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
OpenPOWER on IntegriCloud