diff options
Diffstat (limited to 'libc/stdlib/getpt.c')
-rw-r--r-- | libc/stdlib/getpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/getpt.c b/libc/stdlib/getpt.c index cab96bb06..3dbaf9ed7 100644 --- a/libc/stdlib/getpt.c +++ b/libc/stdlib/getpt.c @@ -50,7 +50,7 @@ int getpt (void) { #if !defined __UNIX98PTY_ONLY__ - static int have_no_dev_ptmx; + static smallint have_no_dev_ptmx; #endif int fd; @@ -65,7 +65,7 @@ getpt (void) return fd; #else struct statfs fsbuf; - static int devpts_mounted; + static smallint devpts_mounted; /* Check that the /dev/pts filesystem is mounted or if /dev is a devfs filesystem (this implies /dev/pts). */ |