fix up some gratuitous externs

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9733 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-03-06 20:10:14 +00:00
parent eb4958cab9
commit 803c02a75b
3 changed files with 6 additions and 8 deletions

View File

@@ -223,7 +223,7 @@ int EncryptStatus (void);
#endif #endif
#ifdef SIGINFO #ifdef SIGINFO
void ayt_status(int); RETSIGTYPE ayt_status(int);
#endif #endif
int tn(int argc, char **argv); int tn(int argc, char **argv);
void command(int top, char *tbuf, int cnt); void command(int top, char *tbuf, int cnt);
@@ -428,3 +428,8 @@ extern Ring
ttyoring, ttyoring,
ttyiring; ttyiring;
extern int resettermname;
extern int linemode;
#ifdef KLUDGELINEMODE
extern int kludgelinemode;
#endif

View File

@@ -118,9 +118,6 @@ TerminalAutoFlush(void)
#endif /* LNOFLSH */ #endif /* LNOFLSH */
} }
#ifdef KLUDGELINEMODE
extern int kludgelinemode;
#endif
/* /*
* TerminalSpecialChars() * TerminalSpecialChars()
* *

View File

@@ -151,11 +151,7 @@ ttyflush(int drop)
int int
getconnmode(void) getconnmode(void)
{ {
extern int linemode;
int mode = 0; int mode = 0;
#ifdef KLUDGELINEMODE
extern int kludgelinemode;
#endif
if (my_want_state_is_dont(TELOPT_ECHO)) if (my_want_state_is_dont(TELOPT_ECHO))
mode |= MODE_ECHO; mode |= MODE_ECHO;