Browse Source

Hide __libc_sa_len

Peter S. Mazinger 19 years ago
parent
commit
bfaefca651
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libc/inet/rpc/rexec.c
  2. 1 1
      libc/inet/rpc/sa_len.c

+ 1 - 1
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];

+ 1 - 1
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)
     {