From 21730caa6647f645974e132ca8afec79b4eeab2b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 18 Sep 2009 20:57:40 +0200 Subject: trim Experimentally off and uncommented hidden sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer --- libc/termios/cfsetspeed.c | 2 -- libc/termios/isatty.c | 2 -- libc/termios/speed.c | 2 -- libc/termios/tcflow.c | 1 - libc/termios/tcflush.c | 1 - libc/termios/tcgetattr.c | 5 ----- libc/termios/tcgetpgrp.c | 2 -- libc/termios/tcgetsid.c | 3 --- libc/termios/tcsendbrk.c | 1 - libc/termios/tcsetattr.c | 3 --- libc/termios/tcsetpgrp.c | 1 - libc/termios/ttyname.c | 9 --------- 12 files changed, 32 deletions(-) (limited to 'libc/termios') diff --git a/libc/termios/cfsetspeed.c b/libc/termios/cfsetspeed.c index bbafda0af..b1d54cb9f 100644 --- a/libc/termios/cfsetspeed.c +++ b/libc/termios/cfsetspeed.c @@ -22,8 +22,6 @@ #ifdef __USE_BSD -/* libc_hidden_proto(cfsetispeed) */ -/* libc_hidden_proto(cfsetospeed) */ struct speed_struct { diff --git a/libc/termios/isatty.c b/libc/termios/isatty.c index 071bb35d9..9e865225f 100644 --- a/libc/termios/isatty.c +++ b/libc/termios/isatty.c @@ -19,8 +19,6 @@ #include #include -/* libc_hidden_proto(isatty) */ -/* libc_hidden_proto(tcgetattr) */ /* Return 1 if FD is a terminal, 0 if not. */ int isatty (int fd) diff --git a/libc/termios/speed.c b/libc/termios/speed.c index d4eabd9a1..33b9c4a96 100644 --- a/libc/termios/speed.c +++ b/libc/termios/speed.c @@ -22,8 +22,6 @@ #include #include -/* libc_hidden_proto(cfsetispeed) */ -/* libc_hidden_proto(cfsetospeed) */ /* This is a gross hack around a kernel bug. If the cfsetispeed functions is called with the SPEED argument set to zero this means use the same diff --git a/libc/termios/tcflow.c b/libc/termios/tcflow.c index 6a1bf12f6..35ae1b2a6 100644 --- a/libc/termios/tcflow.c +++ b/libc/termios/tcflow.c @@ -21,7 +21,6 @@ #include #include -/* libc_hidden_proto(ioctl) */ /* Suspend or restart transmission on FD. */ int tcflow (int fd, int action) diff --git a/libc/termios/tcflush.c b/libc/termios/tcflush.c index 28e88c854..7c9d1c584 100644 --- a/libc/termios/tcflush.c +++ b/libc/termios/tcflush.c @@ -21,7 +21,6 @@ #include #include -/* libc_hidden_proto(ioctl) */ /* Flush pending data on FD. */ int diff --git a/libc/termios/tcgetattr.c b/libc/termios/tcgetattr.c index 47b885800..0bdc70b3c 100644 --- a/libc/termios/tcgetattr.c +++ b/libc/termios/tcgetattr.c @@ -23,11 +23,6 @@ #include #include -/* libc_hidden_proto(ioctl) */ -/* Experimentally off - libc_hidden_proto(memset) */ -/* Experimentally off - libc_hidden_proto(memcpy) */ -/* Experimentally off - libc_hidden_proto(mempcpy) */ -/* libc_hidden_proto(tcgetattr) */ /* The difference here is that the termios structure used in the kernel is not the same as we use in the libc. Therefore we must diff --git a/libc/termios/tcgetpgrp.c b/libc/termios/tcgetpgrp.c index 677e8b4dc..e2509c830 100644 --- a/libc/termios/tcgetpgrp.c +++ b/libc/termios/tcgetpgrp.c @@ -21,8 +21,6 @@ #include #include -/* libc_hidden_proto(tcgetpgrp) */ -/* libc_hidden_proto(ioctl) */ /* Return the foreground process group ID of FD. */ pid_t tcgetpgrp (int fd) diff --git a/libc/termios/tcgetsid.c b/libc/termios/tcgetsid.c index b5d7cb697..b5da2e76e 100644 --- a/libc/termios/tcgetsid.c +++ b/libc/termios/tcgetsid.c @@ -22,9 +22,6 @@ #include #include -/* libc_hidden_proto(ioctl) */ -/* libc_hidden_proto(getsid) */ -/* libc_hidden_proto(tcgetpgrp) */ /* Return the session ID of FD. */ pid_t diff --git a/libc/termios/tcsendbrk.c b/libc/termios/tcsendbrk.c index 53ea662a7..322956c75 100644 --- a/libc/termios/tcsendbrk.c +++ b/libc/termios/tcsendbrk.c @@ -22,7 +22,6 @@ #include #include -/* libc_hidden_proto(ioctl) */ /* Send zero bits on FD. */ int diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c index 9f5533e08..786fc69c5 100644 --- a/libc/termios/tcsetattr.c +++ b/libc/termios/tcsetattr.c @@ -22,9 +22,6 @@ #include #include -/* libc_hidden_proto(tcsetattr) */ -/* Experimentally off - libc_hidden_proto(memcpy) */ -/* libc_hidden_proto(ioctl) */ /* The difference here is that the termios structure used in the kernel is not the same as we use in the libc. Therefore we must diff --git a/libc/termios/tcsetpgrp.c b/libc/termios/tcsetpgrp.c index dbf07f216..6a3b8d827 100644 --- a/libc/termios/tcsetpgrp.c +++ b/libc/termios/tcsetpgrp.c @@ -21,7 +21,6 @@ #include #include -/* libc_hidden_proto(ioctl) */ /* Set the foreground process group ID of FD set PGRP_ID. */ int tcsetpgrp (int fd, pid_t pgrp_id) diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c index ac25c7658..5fcf23b64 100644 --- a/libc/termios/ttyname.c +++ b/libc/termios/ttyname.c @@ -31,15 +31,6 @@ #include #include -/* libc_hidden_proto(ttyname_r) */ -/* libc_hidden_proto(fstat) */ -/* libc_hidden_proto(lstat) */ -/* Experimentally off - libc_hidden_proto(strcpy) */ -/* Experimentally off - libc_hidden_proto(strlen) */ -/* libc_hidden_proto(opendir) */ -/* libc_hidden_proto(closedir) */ -/* libc_hidden_proto(readdir) */ -/* libc_hidden_proto(isatty) */ #define TTYNAME_BUFLEN 32 -- cgit v1.2.3