diff options
author | Xin LI <delphij@FreeBSD.org> | 2008-04-28 21:08:42 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2008-04-28 21:08:42 +0000 |
commit | b6d9e1f355f23547e4ec15bd3ffe9e97854a4f69 (patch) | |
tree | 97dad06a487d87e06e7131be3665c891231215b7 /usr.bin/talk/ctl_transact.c | |
parent | f81a2a495643009e00e2f95b958dfc80869beec4 (diff) |
ANSIfy function prototypes. While I am there, constify some parameters and
make use of C99 sparse initialization for static variables, this makes talk(1)
to compile cleanly with WARNS=6.
Notes
Notes:
svn path=/head/; revision=178642
Diffstat (limited to 'usr.bin/talk/ctl_transact.c')
-rw-r--r-- | usr.bin/talk/ctl_transact.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/talk/ctl_transact.c b/usr.bin/talk/ctl_transact.c index 0871febe7361..9c8665dab0dc 100644 --- a/usr.bin/talk/ctl_transact.c +++ b/usr.bin/talk/ctl_transact.c @@ -55,11 +55,7 @@ static const char sccsid[] = "@(#)ctl_transact.c 8.1 (Berkeley) 6/6/93"; * of time */ void -ctl_transact(target, lmsg, type, rp) - struct in_addr target; - CTL_MSG lmsg; - int type; - CTL_RESPONSE *rp; +ctl_transact(struct in_addr target, CTL_MSG lmsg, int type, CTL_RESPONSE *rp) { fd_set read_mask, ctl_mask; int nready = 0, cc; |