From 6c035586e980d4fcc164da4e014bbb2f55b4d680 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 11 Sep 2008 16:17:43 +0000 Subject: - remove posix_openpt relocation --- include/stdlib.h | 1 + libc/stdlib/getpt.c | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3