diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 2010-12-19 16:25:23 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 2010-12-19 16:25:23 +0000 |
commit | 6d8484b0d0191b66f9bfd0dfa89c06a29647f02a (patch) | |
tree | cb3d657c33bdf93a7127358a4d9a36796aa4d3dd /usr.bin/mail/tty.c | |
parent | ed1e1e2a9ea1e0e73057434ffbba8bbd565b3e1f (diff) | |
download | src-test2-6d8484b0d0191b66f9bfd0dfa89c06a29647f02a.tar.gz src-test2-6d8484b0d0191b66f9bfd0dfa89c06a29647f02a.zip |
Notes
Diffstat (limited to 'usr.bin/mail/tty.c')
-rw-r--r-- | usr.bin/mail/tty.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/usr.bin/mail/tty.c b/usr.bin/mail/tty.c index 41d895aef186..f8635a212aaf 100644 --- a/usr.bin/mail/tty.c +++ b/usr.bin/mail/tty.c @@ -57,9 +57,7 @@ static int ttyset; /* We must now do erase/kill */ */ int -grabh(hp, gflags) - struct header *hp; - int gflags; +grabh(struct header *hp, int gflags) { struct termios ttybuf; sig_t saveint; @@ -170,9 +168,7 @@ out: */ char * -readtty(pr, src) - const char *pr; - char src[]; +readtty(const char *pr, char src[]) { char ch, canonb[BUFSIZ]; int c; @@ -272,8 +268,7 @@ redo: * Receipt continuation. */ void -ttystop(s) - int s; +ttystop(int s) { sig_t old_action = signal(s, SIG_DFL); sigset_t nset; @@ -287,10 +282,8 @@ ttystop(s) longjmp(rewrite, 1); } -/*ARGSUSED*/ void -ttyint(s) - int s; +ttyint(int s __unused) { longjmp(intjmp, 1); } |