OSDN Git Service

- remove posix_openpt relocation
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 11 Sep 2008 16:17:43 +0000 (16:17 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 11 Sep 2008 16:17:43 +0000 (16:17 -0000)
include/stdlib.h
libc/stdlib/getpt.c

index b5ab9c9..b87dfd9 100644 (file)
@@ -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
index b07fde6..3033a13 100644 (file)
@@ -105,6 +105,7 @@ posix_openpt (int flags)
     }
   return -1;
 }
+libc_hidden_def(posix_openpt)
 #undef have_no_dev_ptmx
 #undef devpts_mounted