diff options
-rwxr-xr-x | deheader | 2 | ||||
-rw-r--r-- | test/cfsetispeed.c | 13 | ||||
-rw-r--r-- | test/cfsetospeed.c | 13 | ||||
-rw-r--r-- | test/regress.chk | 8 |
4 files changed, 35 insertions, 1 deletions
@@ -67,6 +67,8 @@ requirements = map(lambda (r, h): (re.compile(r), h), ( (r"\Wceil\s*\(", ["<math.h>"]), (r"\Wcfgetispeed\s*\(", ["<termios.h>"]), (r"\Wcfgetospeed\s*\(", ["<termios.h>"]), + (r"\Wcfsetispeed\s*\(", ["<termios.h>"]), + (r"\Wcfsetospeed\s*\(", ["<termios.h>"]), (r"\Wumask\s*\(", ["<sys/stat.h>", "<sys/types.h>"]), # Dependencies observed on systems other than the Linux this was # developed under. diff --git a/test/cfsetispeed.c b/test/cfsetispeed.c new file mode 100644 index 0000000..4071186 --- /dev/null +++ b/test/cfsetispeed.c @@ -0,0 +1,13 @@ +/* + * Items: cfsetispeed( + * Standardized-By: SuS + * Not-Detected-by: gcc-4.4.3 + Linux + */ + +#include <termios.h> + +main(int arg, char **argv) +{ + struct termios *t; + cfsetispeed(&t, 0); +} diff --git a/test/cfsetospeed.c b/test/cfsetospeed.c new file mode 100644 index 0000000..41c8679 --- /dev/null +++ b/test/cfsetospeed.c @@ -0,0 +1,13 @@ +/* + * Items: cfsetospeed( + * Standardized-By: SuS + * Not-Detected-by: gcc-4.4.3 + Linux + */ + +#include <termios.h> + +main(int arg, char **argv) +{ + struct termios *t; + cfsetospeed(&t, 0); +} diff --git a/test/regress.chk b/test/regress.chk index f51b0e1..4be1bf5 100644 --- a/test/regress.chk +++ b/test/regress.chk @@ -1,6 +1,8 @@ deheader: ./string.c includes <string.h> deheader: ./bzero.c has requires <string.h> from \Wbzero\s*\( deheader: ./bzero.c includes <string.h> +deheader: ./cfsetospeed.c has requires <termios.h> from \Wcfsetospeed\s*\( +deheader: ./cfsetospeed.c includes <termios.h> deheader: ./duplicate.c includes <stdio.h> deheader: ./duplicate.c includes <stdio.h> deheader: ./duplicate.c has more than one inclusion of <stdio.h> @@ -34,6 +36,8 @@ deheader: ./access.c has requires <unistd.h> from \Waccess\s*\( deheader: ./access.c includes <unistd.h> deheader: ./atoi.c has requires <stdlib.h> from \Wl64a\s*\( deheader: ./atoi.c includes <stdlib.h> +deheader: ./cfsetispeed.c has requires <termios.h> from \Wcfsetispeed\s*\( +deheader: ./cfsetispeed.c includes <termios.h> deheader: ./sbrk.c includes <unistd.h> deheader: ./alarm.c includes <unistd.h> deheader: ./cfgetospeed.c has requires <termios.h> from \Wcfgetospeed\s*\( @@ -89,6 +93,7 @@ deheader: in ./bsd_signal.c, retaining required '#include <signal.h>\n' deheader: ./abs.c without <stdlib.h> succeeded. deheader: remove <stdlib.h> from ./abs.c deheader: in ./basename.c, retaining required '#include <libgen.h>\n' +deheader: in ./cfsetospeed.c, retaining required '#include <termios.h>\n' deheader: in ./abort.c, retaining required '#include <stdlib.h>\n' deheader: in ./atan.c, retaining required '#include <math.h>\n' deheader: ./duplicate.c without <stdio.h> succeeded. @@ -97,6 +102,7 @@ deheader: remove <stdio.h> from ./duplicate.c deheader: remove <stdio.h> from ./duplicate.c deheader: in ./atanh.c, retaining required '#include <math.h>\n' deheader: ./bcopy.c without <string.h> failed (512). +deheader: in ./cfsetispeed.c, retaining required '#include <termios.h>\n' deheader: in ./atol.c, retaining required '#include <stdlib.h>\n' deheader: in ./atoi.c, retaining required '#include <stdlib.h>\n' deheader: ./asinh.c without <math.h> succeeded. @@ -119,4 +125,4 @@ deheader: in ./catgets.c, retaining required '#include <nl_types.h>\n' deheader: in ./bcmp.c, retaining required '#include <string.h>\n' deheader: in ./a64l.c, retaining required '#include <stdlib.h>\n' deheader: in ./advance.c, retaining required '#include <regexp.h>\n' -deheader: saw 38 files, 40 includes, 8 removed +deheader: saw 40 files, 42 includes, 8 removed |