diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-02-18 19:54:50 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-02-18 19:54:50 +0000 |
commit | d3f5b32ae4287a59114e252637c7a3310488de05 (patch) | |
tree | d3cf4cace3a22e5b33f8b81cf96eb9727d4cc2a5 /libc/sysdeps/linux/common/getdomainname.c | |
parent | 7d37f33c752af230b5e6fcd9c35a03cd4c22724a (diff) | |
download | uClibc-alpine-d3f5b32ae4287a59114e252637c7a3310488de05.tar.bz2 uClibc-alpine-d3f5b32ae4287a59114e252637c7a3310488de05.tar.xz |
- synch r25316:25325 from trunk
Diffstat (limited to 'libc/sysdeps/linux/common/getdomainname.c')
-rw-r--r-- | libc/sysdeps/linux/common/getdomainname.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getdomainname.c b/libc/sysdeps/linux/common/getdomainname.c index 20b09610a..cdea2172a 100644 --- a/libc/sysdeps/linux/common/getdomainname.c +++ b/libc/sysdeps/linux/common/getdomainname.c @@ -16,7 +16,11 @@ /* Experimentally off - libc_hidden_proto(strcpy) */ /* libc_hidden_proto(uname) */ -int getdomainname(char *name, size_t len) +int +#ifndef __UCLIBC_BSD_SPECIFIC__ +attribute_hidden +#endif +getdomainname(char *name, size_t len) { struct utsname uts; @@ -42,5 +46,7 @@ int getdomainname(char *name, size_t len) #endif return 0; } +# ifdef __UCLIBC_BSD_SPECIFIC__ libc_hidden_def(getdomainname) +# endif #endif |