summaryrefslogtreecommitdiff
path: root/libc/stdlib/bsd_getpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/bsd_getpt.c')
-rw-r--r--libc/stdlib/bsd_getpt.c2
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];