|
@@ -908,16 +908,15 @@ extern int sethostname (__const char *__name, size_t __len)
|
|
|
This call is restricted to the super-user. */
|
|
|
extern int sethostid (long int __id) __THROW __wur;
|
|
|
|
|
|
-#if defined __UCLIBC_BSD_SPECIFIC__
|
|
|
-# if defined UCLIBC_INTERNAL
|
|
|
-/* separate preprocessor test for unifdef */
|
|
|
+#if defined __UCLIBC_BSD_SPECIFIC__ || defined UCLIBC_INTERNAL
|
|
|
/* Get and set the NIS (aka YP) domain name, if any.
|
|
|
Called just like `gethostname' and `sethostname'.
|
|
|
The NIS domain name is usually the empty string when not using NIS. */
|
|
|
extern int getdomainname (char *__name, size_t __len)
|
|
|
__THROW __nonnull ((1)) __wur;
|
|
|
-# endif
|
|
|
libc_hidden_proto(getdomainname)
|
|
|
+#endif
|
|
|
+#if defined __UCLIBC_BSD_SPECIFIC__
|
|
|
extern int setdomainname (__const char *__name, size_t __len)
|
|
|
__THROW __nonnull ((1)) __wur;
|
|
|
#endif
|