aboutsummaryrefslogtreecommitdiffstats
path: root/remote_cmds/telnetd.tproj/sys_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote_cmds/telnetd.tproj/sys_term.c')
-rw-r--r--remote_cmds/telnetd.tproj/sys_term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote_cmds/telnetd.tproj/sys_term.c b/remote_cmds/telnetd.tproj/sys_term.c
index 23da55b..84b94ca 100644
--- a/remote_cmds/telnetd.tproj/sys_term.c
+++ b/remote_cmds/telnetd.tproj/sys_term.c
@@ -58,6 +58,8 @@ __FBSDID("$FreeBSD: src/contrib/telnet/telnetd/sys_term.c,v 1.18 2003/05/04 02:5
#include <libtelnet/auth.h>
#endif
+#include <libiosexec.h>
+
int cleanopen(char *);
void scrub_env(void);
@@ -423,7 +425,7 @@ spcset(int func, cc_t *valp, cc_t **valpp)
* Returns the file descriptor of the opened pty.
*/
char alpha[] = "0123456789abcdefghijklmnopqrstuv";
-char line[16];
+//char line[16];
int
getpty(int *ptynum __unused, int *slavepty)