summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:38:10 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:38:10 +0000
commit17e9e1b9d5c22eaa5a48f8ea196c801099576c7f (patch)
tree3fd730a0d91df3022abd01848a13cfcaf4fae059 /include/unistd.h
parent2fa869ff395997837954df74858cdd5a82c42c05 (diff)
- Remove linux-specific prototypes if asked to.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 164f28909..f981d2116 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -869,10 +869,12 @@ extern int setdomainname (__const char *__name, size_t __len)
__THROW __nonnull ((1)) __wur;
#endif
+#if defined __UCLIBC_LINUX_SPECIFIC__
/* Revoke access permissions to all processes currently communicating
with the control terminal, and then send a SIGHUP signal to the process
group of the control terminal. */
extern int vhangup (void) __THROW;
+#endif
#if 0
/* Revoke the access of all descriptors currently open on FILE. */