aboutsummaryrefslogtreecommitdiff
path: root/inet/rexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rexec.c')
-rw-r--r--inet/rexec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/inet/rexec.c b/inet/rexec.c
index 7533410..f477247 100644
--- a/inet/rexec.c
+++ b/inet/rexec.c
@@ -43,12 +43,12 @@ static char sccsid[] = "@(#)rexec.c 8.1 (Berkeley) 6/4/93";
#include <stdio.h>
#include <netdb.h>
#include <errno.h>
+#include <string.h>
+#include <unistd.h>
-extern errno;
-char *index();
int rexecoptions;
-char *getpass(), *getlogin();
+int
rexec(ahost, rport, name, pass, cmd, fd2p)
char **ahost;
int rport;