From 21237865a7b9e4898516678382a98163a9248592 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 7 Dec 2005 00:50:06 +0000 Subject: Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ... --- libc/sysdeps/linux/common/dup2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/dup2.c') diff --git a/libc/sysdeps/linux/common/dup2.c b/libc/sysdeps/linux/common/dup2.c index a5a832f6f..71164aa0b 100644 --- a/libc/sysdeps/linux/common/dup2.c +++ b/libc/sysdeps/linux/common/dup2.c @@ -9,4 +9,6 @@ #include "syscalls.h" #include -_syscall2(int, dup2, int, oldfd, int, newfd); +#define __NR___dup2 __NR_dup2 +attribute_hidden _syscall2(int, __dup2, int, oldfd, int, newfd); +strong_alias(__dup2,dup2) -- cgit v1.2.3