summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 20:57:40 +0200
commit21730caa6647f645974e132ca8afec79b4eeab2b (patch)
tree6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/termios
parent35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff)
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 <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/cfsetspeed.c2
-rw-r--r--libc/termios/isatty.c2
-rw-r--r--libc/termios/speed.c2
-rw-r--r--libc/termios/tcflow.c1
-rw-r--r--libc/termios/tcflush.c1
-rw-r--r--libc/termios/tcgetattr.c5
-rw-r--r--libc/termios/tcgetpgrp.c2
-rw-r--r--libc/termios/tcgetsid.c3
-rw-r--r--libc/termios/tcsendbrk.c1
-rw-r--r--libc/termios/tcsetattr.c3
-rw-r--r--libc/termios/tcsetpgrp.c1
-rw-r--r--libc/termios/ttyname.c9
12 files changed, 0 insertions, 32 deletions
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 <unistd.h>
#include <termios.h>
-/* 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 <errno.h>
#include <termios.h>
-/* 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 <termios.h>
#include <sys/ioctl.h>
-/* 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 <termios.h>
#include <sys/ioctl.h>
-/* 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 <sys/ioctl.h>
#include <sys/types.h>
-/* 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 <unistd.h>
#include <sys/types.h>
-/* 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 <sys/types.h>
#include <unistd.h>
-/* 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 <termios.h>
#include <sys/ioctl.h>
-/* 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 <sys/ioctl.h>
#include <sys/types.h>
-/* 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 <errno.h>
#include <unistd.h>
-/* 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 <dirent.h>
#include <sys/stat.h>
-/* 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