projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gcc2 warnings.
[unix-history]
/
usr
/
src
/
usr.bin
/
telnet
/
sys_bsd.c
diff --git
a/usr/src/usr.bin/telnet/sys_bsd.c
b/usr/src/usr.bin/telnet/sys_bsd.c
index
758cdb1
..
fe24417
100644
(file)
--- a/
usr/src/usr.bin/telnet/sys_bsd.c
+++ b/
usr/src/usr.bin/telnet/sys_bsd.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)sys_bsd.c 5.
3
(Berkeley) %G%";
+static char sccsid[] = "@(#)sys_bsd.c 5.
4
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-37,6
+37,10
@@
static char sccsid[] = "@(#)sys_bsd.c 5.3 (Berkeley) %G%";
#define SIG_FUNC_RET int
#endif
#define SIG_FUNC_RET int
#endif
+#ifdef SIGINFO
+extern SIG_FUNC_RET ayt_status();
+#endif SIGINFO
+
int
tout, /* Output file descriptor */
tin, /* Input file descriptor */
int
tout, /* Output file descriptor */
tin, /* Input file descriptor */
@@
-148,12
+152,12
@@
extern int kludgelinemode;
* 1 Do add this character
*/
* 1 Do add this character
*/
+extern void xmitAO(), xmitEL(), xmitEC(), intp(), sendbrk();
+
int
TerminalSpecialChars(c)
int c;
{
int
TerminalSpecialChars(c)
int c;
{
- void xmitAO(), xmitEL(), xmitEC(), intp(), sendbrk();
-
if (c == termIntChar) {
intp();
return 0;
if (c == termIntChar) {
intp();
return 0;
@@
-633,8
+637,6
@@
TerminalNewMode(f)
#endif
} else {
#ifdef SIGINFO
#endif
} else {
#ifdef SIGINFO
- SIG_FUNC_RET ayt_status();
-
(void) signal(SIGINFO, ayt_status);
#endif SIGINFO
#ifdef SIGTSTP
(void) signal(SIGINFO, ayt_status);
#endif SIGINFO
#ifdef SIGTSTP