This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[glibc/zack/no-nested-includes] termio.h is also a compatibility wrapper


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d6c6b6f3f26391249ca05340bf3bfb330ed1beb8

commit d6c6b6f3f26391249ca05340bf3bfb330ed1beb8
Author: Zack Weinberg <zackw@panix.com>
Date:   Mon Jun 10 11:35:40 2019 -0400

    termio.h is also a compatibility wrapper

Diff:
---
 scripts/check-obsolete-constructs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/check-obsolete-constructs.py b/scripts/check-obsolete-constructs.py
index 5f6e714..6c916fb 100755
--- a/scripts/check-obsolete-constructs.py
+++ b/scripts/check-obsolete-constructs.py
@@ -561,7 +561,6 @@ HEADER_ALLOWED_INCLUDES = {
     "sgtty.h":                     [ "sys/ioctl.h" ],
     "shadow.h":                    [ "paths.h" ],
     "stdio_ext.h":                 [ "stdio.h" ],
-    "termio.h":                    [ "sys/ioctl.h", "termios.h" ],
     "thread_db.h":                 [ "pthread.h", "stdint.h", "sys/procfs.h" ],
     "ucontext.h":                  [ "sys/ucontext.h" ],
     "utmp.h":                      [ "paths.h" ],
@@ -601,6 +600,7 @@ HEADER_ALLOWED_INCLUDES = {
     "sys/termios.h":               [ "termios.h" ],
     "sys/unistd.h":                [ "unistd.h" ],
     "syscall.h":                   [ "sys/syscall.h" ],
+    "termio.h":                    [ "sys/ioctl.h", "termios.h" ],
     "wait.h":                      [ "sys/wait.h" ],
 
     # Nonstandardized networking headers


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]