summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:54:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:54:53 +0000
commitb7ca08e773b64e7b54354141e34d929f2d1bb9cc (patch)
treec6aa90689fe75a5a9bb14d57f804664a5411085f /include/unistd.h
parent477041e79411085b2fbe625da0b046dfa65ed708 (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. */