summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/rcmdsh.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-03-25 13:24:11 +0000
committerotto <otto@openbsd.org>2005-03-25 13:24:11 +0000
commitdb5b349cf7aa19c2b6169fbb65597f2e741714ab (patch)
tree3225f0ae035a80a4448da2c70fd7f41f085c275b /lib/libc/net/rcmdsh.c
parentwhitespace (diff)
downloadwireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.tar.xz
wireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.zip
ansify. ok deraadt@ moritz@
Diffstat (limited to 'lib/libc/net/rcmdsh.c')
-rw-r--r--lib/libc/net/rcmdsh.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/net/rcmdsh.c b/lib/libc/net/rcmdsh.c
index 3ec97e4763d..28f0ca88a62 100644
--- a/lib/libc/net/rcmdsh.c
+++ b/lib/libc/net/rcmdsh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcmdsh.c,v 1.9 2004/04/01 04:14:29 marc Exp $ */
+/* $OpenBSD: rcmdsh.c,v 1.10 2005/03/25 13:24:12 otto Exp $ */
/*
* Copyright (c) 2001, MagniComp
@@ -34,7 +34,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.9 2004/04/01 04:14:29 marc Exp $";
+static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.10 2005/03/25 13:24:12 otto Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -57,11 +57,8 @@ static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.9 2004/04/01 04:14:29 marc Exp $";
*/
/* ARGSUSED */
int
-rcmdsh(ahost, rport, locuser, remuser, cmd, rshprog)
- char **ahost;
- int rport;
- const char *locuser, *remuser, *cmd;
- char *rshprog;
+rcmdsh(char **ahost, int rport, const char *locuser, const char *remuser,
+ const char *cmd, char *rshprog)
{
struct hostent *hp;
int sp[2];