From f503f6a97092a349a8de7fac1cde2ef5b3beaf5b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 12 Apr 2011 17:20:51 +0200 Subject: getpt.c: no need for hidden posix_openpt Prefer static inline instead of hidden (__bsd_getpt) Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/stdlib/bsd_getpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdlib/bsd_getpt.c') 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]; -- cgit v1.2.3