]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
termios: Move isatty, __isatty_nostatus from io
authorFlorian Weimer <fweimer@redhat.com>
Fri, 11 Jul 2025 14:04:07 +0000 (16:04 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 11 Jul 2025 14:04:07 +0000 (16:04 +0200)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
The definition may depend on termios internals.

io/Makefile
io/Versions
termios/Makefile
termios/Versions
termios/isatty.c [moved from io/isatty.c with 100% similarity]
termios/isatty_nostatus.c [moved from io/isatty_nostatus.c with 100% similarity]

index edee38e233d866965cb214e3e2d149a229b3cae2..435f5a994f3b12de7d77b721025d033d6b09be08 100644 (file)
@@ -91,8 +91,6 @@ routines := \
   getcwd \
   getdirname \
   getwd \
-  isatty \
-  isatty_nostatus \
   lchmod \
   lchown \
   link \
index 4e19540885eab56a8b4e3a9586b4e7f1cc01a518..04d196eee0b01aeebb551a66701233e57f53af5e 100644 (file)
@@ -26,9 +26,6 @@ libc {
     # g*
     get_current_dir_name; getcwd; getwd;
 
-    # i*
-    isatty;
-
     # l*
     lchown; link; lockf; lseek;
 
index 3cbd8917ad8755d821f1e08ef4c7ae5b48b435d2..1e2360825554f5da1654cac09b6f0f85a541a8d2 100644 (file)
@@ -36,6 +36,8 @@ routines := \
   cfmakeraw \
   cfsetbaud \
   cfsetspeed \
+  isatty \
+  isatty_nostatus \
   speed \
   tcdrain \
   tcflow \
index a5eec8325753a2a9d9a0fe89892204674e5749b6..03e2063b1f7c40b5ae8464731937b623374edbcd 100644 (file)
@@ -3,6 +3,9 @@ libc {
     # c*
     cfgetispeed; cfgetospeed; cfmakeraw; cfsetispeed; cfsetospeed; cfsetspeed;
 
+    # i*
+    isatty;
+
     # t*
     tcdrain; tcflow; tcflush; tcgetattr; tcgetpgrp; tcsendbreak; tcsetattr;
     tcsetpgrp;
similarity index 100%
rename from io/isatty.c
rename to termios/isatty.c