diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-12 17:20:51 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:36 +0200 |
commit | f503f6a97092a349a8de7fac1cde2ef5b3beaf5b (patch) | |
tree | b3f5a8eadd5168b497cb4b34fa53b356ef17021d /libc/stdlib/bsd_getpt.c | |
parent | ab5add209a3a7c8323586ff651e1ca6b7bafe06a (diff) |
getpt.c: no need for hidden posix_openpt
Prefer static inline instead of hidden (__bsd_getpt)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/bsd_getpt.c')
-rw-r--r-- | libc/stdlib/bsd_getpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/bsd_getpt.c b/libc/stdlib/bsd_getpt.c index e704e235f..d8c46f591 100644 --- a/libc/stdlib/bsd_getpt.c +++ b/libc/stdlib/bsd_getpt.c @@ -40,7 +40,7 @@ const char __libc_ptyname1[] attribute_hidden = PTYNAME1; const char __libc_ptyname2[] attribute_hidden = PTYNAME2; /* Open a master pseudo terminal and return its file descriptor. */ -int +static __inline__ int __getpt (void) { char buf[sizeof (_PATH_PTY) + 2]; |