Browse Source

- remove posix_openpt relocation

Bernhard Reutner-Fischer 15 years ago
parent
commit
6c035586e9
2 changed files with 2 additions and 0 deletions
  1. 1 0
      include/stdlib.h
  2. 1 0
      libc/stdlib/getpt.c

+ 1 - 0
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

+ 1 - 0
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