summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-15 15:02:44 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-15 15:02:44 +0000
commitbfaefca65199201e361298fbf388782b0aa8456f (patch)
treee6ee10e57f38f7645bab22903d676167c974b7a4 /libc/inet
parentda07a3549bd2ef2e1a54296c24cb1695400344f9 (diff)
Hide __libc_sa_len
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/rpc/rexec.c2
-rw-r--r--libc/inet/rpc/sa_len.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/rpc/rexec.c b/libc/inet/rpc/rexec.c
index 7af948991..2c280d922 100644
--- a/libc/inet/rpc/rexec.c
+++ b/libc/inet/rpc/rexec.c
@@ -43,7 +43,7 @@
#include <unistd.h>
#define SA_LEN(_x) __libc_sa_len((_x)->sa_family)
-extern int __libc_sa_len (sa_family_t __af) __THROW;
+extern int __libc_sa_len (sa_family_t __af) __THROW attribute_hidden;
int rexecoptions;
char ahostbuf[NI_MAXHOST];
diff --git a/libc/inet/rpc/sa_len.c b/libc/inet/rpc/sa_len.c
index 50b4a7b12..21a6417af 100644
--- a/libc/inet/rpc/sa_len.c
+++ b/libc/inet/rpc/sa_len.c
@@ -31,7 +31,7 @@
#include <netrose/rose.h>
#endif
-int __libc_sa_len (sa_family_t af)
+int attribute_hidden __libc_sa_len (sa_family_t af)
{
switch (af)
{