about summary refs log tree commit diff
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 7533410eb3..f4772475fd 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;