aboutsummaryrefslogtreecommitdiff
path: root/lib/libcompat/4.3/rexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompat/4.3/rexec.c')
-rw-r--r--lib/libcompat/4.3/rexec.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/libcompat/4.3/rexec.c b/lib/libcompat/4.3/rexec.c
index 3dac5ff18da3..b2f37a09c0fb 100644
--- a/lib/libcompat/4.3/rexec.c
+++ b/lib/libcompat/4.3/rexec.c
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__SCCSID("@(#)rexec.c 8.1 (Berkeley) 6/4/93");
#include <sys/types.h>
#include <sys/uio.h>
@@ -51,7 +49,6 @@ __SCCSID("@(#)rexec.c 8.1 (Berkeley) 6/4/93");
#include <unistd.h>
int rexecoptions;
-char *getpass(), *getlogin();
/*
* Options and other state info.
@@ -132,8 +129,7 @@ token()
}
static int
-ruserpass(host, aname, apass, aacct)
- char *host, **aname, **apass, **aacct;
+ruserpass(char *host, char **aname, char **apass, char **aacct)
{
char *hdir, buf[BUFSIZ], *tmp;
char myname[MAXHOSTNAMELEN], *mydomain;
@@ -291,11 +287,7 @@ bad:
}
int
-rexec(ahost, rport, name, pass, cmd, fd2p)
- char **ahost;
- int rport;
- char *name, *pass, *cmd;
- int *fd2p;
+rexec(char **ahost, int rport, char *name, char *pass, char *cmd, int *fd2p)
{
struct sockaddr_in sin, sin2, from;
struct hostent *hp;