From 972e6d98bae2b5e9350f1fbebb99b6aaf7cb6b1d Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Mon, 1 Jun 2015 16:42:47 -0500 Subject: [PATCH] Fix a couple link errors in telnetd related to ORCA/C's handling of externs. --- telnetd/ext.h | 2 +- telnetd/sys_term.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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)