diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-07-11 16:04:07 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-07-11 16:04:07 +0200 |
commit | 02e7ac5ee3c6d2ef20c024ea7c243d0ae8496608 (patch) | |
tree | 9968ec4c35283afb1304493a438374224c5ee5b1 | |
parent | c5687b4c49a91c5d9826959da2edcc7cdeec1273 (diff) | |
download | glibc-02e7ac5ee3c6d2ef20c024ea7c243d0ae8496608.zip glibc-02e7ac5ee3c6d2ef20c024ea7c243d0ae8496608.tar.gz glibc-02e7ac5ee3c6d2ef20c024ea7c243d0ae8496608.tar.bz2 |
termios: Move isatty, __isatty_nostatus from io
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
The definition may depend on termios internals.
-rw-r--r-- | io/Makefile | 2 | ||||
-rw-r--r-- | io/Versions | 3 | ||||
-rw-r--r-- | termios/Makefile | 2 | ||||
-rw-r--r-- | termios/Versions | 3 | ||||
-rw-r--r-- | termios/isatty.c (renamed from io/isatty.c) | 0 | ||||
-rw-r--r-- | termios/isatty_nostatus.c (renamed from io/isatty_nostatus.c) | 0 |
6 files changed, 5 insertions, 5 deletions
diff --git a/io/Makefile b/io/Makefile index edee38e..435f5a9 100644 --- a/io/Makefile +++ b/io/Makefile @@ -91,8 +91,6 @@ routines := \ getcwd \ getdirname \ getwd \ - isatty \ - isatty_nostatus \ lchmod \ lchown \ link \ diff --git a/io/Versions b/io/Versions index 4e19540..04d196e 100644 --- a/io/Versions +++ b/io/Versions @@ -26,9 +26,6 @@ libc { # g* get_current_dir_name; getcwd; getwd; - # i* - isatty; - # l* lchown; link; lockf; lseek; diff --git a/termios/Makefile b/termios/Makefile index 3cbd891..1e23608 100644 --- a/termios/Makefile +++ b/termios/Makefile @@ -36,6 +36,8 @@ routines := \ cfmakeraw \ cfsetbaud \ cfsetspeed \ + isatty \ + isatty_nostatus \ speed \ tcdrain \ tcflow \ diff --git a/termios/Versions b/termios/Versions index a5eec83..03e2063 100644 --- a/termios/Versions +++ b/termios/Versions @@ -3,6 +3,9 @@ libc { # c* cfgetispeed; cfgetospeed; cfmakeraw; cfsetispeed; cfsetospeed; cfsetspeed; + # i* + isatty; + # t* tcdrain; tcflow; tcflush; tcgetattr; tcgetpgrp; tcsendbreak; tcsetattr; tcsetpgrp; diff --git a/io/isatty.c b/termios/isatty.c index 3f3912d..3f3912d 100644 --- a/io/isatty.c +++ b/termios/isatty.c diff --git a/io/isatty_nostatus.c b/termios/isatty_nostatus.c index e8ee796..e8ee796 100644 --- a/io/isatty_nostatus.c +++ b/termios/isatty_nostatus.c |