diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-11 16:17:43 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-11 16:17:43 +0000 |
commit | 6c035586e980d4fcc164da4e014bbb2f55b4d680 (patch) | |
tree | 2f5921236f44972e4f2d8b15f4038c5ac36f3583 | |
parent | 667f179e3f23edb7b5760fd233a6253d327878e2 (diff) |
- remove posix_openpt relocation
-rw-r--r-- | include/stdlib.h | 1 | ||||
-rw-r--r-- | libc/stdlib/getpt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index b5ab9c9d1..b87dfd921 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -814,6 +814,7 @@ extern void setkey (__const char *__key) __THROW __nonnull ((1)); #ifdef __USE_XOPEN2K /* Return a master pseudo-terminal handle. */ extern int posix_openpt (int __oflag) __wur; +libc_hidden_proto(posix_openpt) #endif #ifdef __USE_XOPEN diff --git a/libc/stdlib/getpt.c b/libc/stdlib/getpt.c index b07fde6fe..3033a13aa 100644 --- a/libc/stdlib/getpt.c +++ b/libc/stdlib/getpt.c @@ -105,6 +105,7 @@ posix_openpt (int flags) } return -1; } +libc_hidden_def(posix_openpt) #undef have_no_dev_ptmx #undef devpts_mounted |