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
ANSI
[unix-history]
/
usr
/
src
/
usr.bin
/
mail
/
tty.c
diff --git
a/usr/src/usr.bin/mail/tty.c
b/usr/src/usr.bin/mail/tty.c
index
9a94162
..
0699646
100644
(file)
--- a/
usr/src/usr.bin/mail/tty.c
+++ b/
usr/src/usr.bin/mail/tty.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)tty.c 5.1
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)tty.c 5.1
2
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-41,7
+41,7
@@
grabh(hp, gflags)
sig_t savettou;
sig_t savettin;
int errs;
sig_t savettou;
sig_t savettin;
int errs;
-
int
ttyint();
+
void
ttyint();
savetstp = signal(SIGTSTP, SIG_DFL);
savettou = signal(SIGTTOU, SIG_DFL);
savetstp = signal(SIGTSTP, SIG_DFL);
savettou = signal(SIGTTOU, SIG_DFL);
@@
-128,7
+128,7
@@
readtty(pr, src)
char ch, canonb[BUFSIZ];
int c;
register char *cp, *cp2;
char ch, canonb[BUFSIZ];
int c;
register char *cp, *cp2;
-
int
ttystop();
+
void
ttystop();
fputs(pr, stdout);
fflush(stdout);
fputs(pr, stdout);
fflush(stdout);
@@
-222,6
+222,7
@@
redo:
/*
* Receipt continuation.
*/
/*
* Receipt continuation.
*/
+void
ttystop(s)
{
sig_t old_action = signal(s, SIG_DFL);
ttystop(s)
{
sig_t old_action = signal(s, SIG_DFL);
@@
-234,8
+235,8
@@
ttystop(s)
}
/*ARGSUSED*/
}
/*ARGSUSED*/
+void
ttyint(s)
{
ttyint(s)
{
-
longjmp(intjmp, 1);
}
longjmp(intjmp, 1);
}