From f71bcf0f42bf6926477cc3e3faa006cf74e59c45 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Sun, 25 Apr 2010 10:14:48 +0200 Subject: libc: Remove compiler warning due to old-style function definition Signed-off-by: Carmelo Amoroso --- libc/inet/rpc/rexec.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libc/inet/rpc/rexec.c') diff --git a/libc/inet/rpc/rexec.c b/libc/inet/rpc/rexec.c index a9d0dd66c..4148fdd07 100644 --- a/libc/inet/rpc/rexec.c +++ b/libc/inet/rpc/rexec.c @@ -185,11 +185,8 @@ bad: libc_hidden_def(rexec_af) int -rexec(ahost, rport, name, pass, cmd, fd2p) - char **ahost; - int rport; - const char *name, *pass, *cmd; - int *fd2p; +rexec(char **ahost, int rport, const char *name, const char *pass, + const char *cmd, int *fd2p) { return rexec_af(ahost, rport, name, pass, cmd, fd2p, AF_INET); } -- cgit v1.2.3