diff options
Diffstat (limited to 'libexec/talkd/process.c')
-rw-r--r-- | libexec/talkd/process.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c index e1515428dd4..b7cd08ebeec 100644 --- a/libexec/talkd/process.c +++ b/libexec/talkd/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.15 2003/06/02 19:38:24 millert Exp $ */ +/* $OpenBSD: process.c,v 1.16 2003/06/11 14:24:46 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -31,7 +31,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)process.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: process.c,v 1.15 2003/06/02 19:38:24 millert Exp $"; +static char rcsid[] = "$Id: process.c,v 1.16 2003/06/11 14:24:46 deraadt Exp $"; #endif /* not lint */ /* @@ -59,9 +59,7 @@ static char rcsid[] = "$Id: process.c,v 1.15 2003/06/02 19:38:24 millert Exp $"; #define satosin(sa) ((struct sockaddr_in *)(sa)) void -process_request(mp, rp) - CTL_MSG *mp; - CTL_RESPONSE *rp; +process_request(CTL_MSG *mp, CTL_RESPONSE *rp) { CTL_MSG *ptr; char *s; @@ -148,9 +146,7 @@ process_request(mp, rp) } void -do_announce(mp, rp) - CTL_MSG *mp; - CTL_RESPONSE *rp; +do_announce(CTL_MSG *mp, CTL_RESPONSE *rp) { struct hostent *hp; CTL_MSG *ptr; @@ -195,9 +191,7 @@ do_announce(mp, rp) * Search utmp for the local user */ int -find_user(name, tty, ttyl) - char *name, *tty; - size_t ttyl; +find_user(char *name, char *tty, size_t ttyl) { struct utmp ubuf, ubuf1; int status; |