From: Florian Weimer Date: Fri, 11 Jul 2025 14:04:07 +0000 (+0200) Subject: termios: Move isatty, __isatty_nostatus from io X-Git-Tag: glibc-2.42~53 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=02e7ac5ee3c6d2ef20c024ea7c243d0ae8496608;p=thirdparty%2Fglibc.git termios: Move isatty, __isatty_nostatus from io Reviewed-by: Adhemerval Zanella The definition may depend on termios internals. --- diff --git a/io/Makefile b/io/Makefile index edee38e233..435f5a994f 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 4e19540885..04d196eee0 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 3cbd8917ad..1e23608255 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 a5eec83257..03e2063b1f 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 similarity index 100% rename from io/isatty.c rename to termios/isatty.c diff --git a/io/isatty_nostatus.c b/termios/isatty_nostatus.c similarity index 100% rename from io/isatty_nostatus.c rename to termios/isatty_nostatus.c