diff --git a/telnetd/ext.h b/telnetd/ext.h index 97308e8..2243b43 100644 --- a/telnetd/ext.h +++ b/telnetd/ext.h @@ -62,7 +62,7 @@ extern int auth_level; extern slcfun slctab[NSLC + 1]; /* slc mapping table */ -char *terminaltype; +extern char *terminaltype; /* * I/O data buffers, pointers, and counters. diff --git a/telnetd/sys_term.c b/telnetd/sys_term.c index 74ed516..fd64fc4 100644 --- a/telnetd/sys_term.c +++ b/telnetd/sys_term.c @@ -378,7 +378,6 @@ spcset(int func, cc_t *valp, cc_t **valpp) * * Returns the file descriptor of the opened pty. */ -char line[32]; int getpty(int *ptynum __unused)