aboutsummaryrefslogtreecommitdiff
path: root/inet/rexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rexec.c')
-rw-r--r--inet/rexec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/inet/rexec.c b/inet/rexec.c
index c647b7ac34..1985fa4418 100644
--- a/inet/rexec.c
+++ b/inet/rexec.c
@@ -40,9 +40,10 @@
#include <string.h>
#include <unistd.h>
#include <sys/uio.h>
+#include <set-freeres.h>
int rexecoptions;
-libc_freeres_ptr (static char *ahostbuf);
+static char *ahostbuf;
int
rexec_af (char **ahost, int rport, const char *name, const char *pass,
@@ -196,3 +197,5 @@ rexec (char **ahost, int rport, const char *name, const char *pass,
{
return rexec_af(ahost, rport, name, pass, cmd, fd2p, AF_INET);
}
+
+weak_alias (ahostbuf, __libc_rexec_freemem_ptr)