summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/cfsetspeed.c4
-rw-r--r--libc/termios/isatty.c4
-rw-r--r--libc/termios/speed.c4
-rw-r--r--libc/termios/tcgetattr.c2
-rw-r--r--libc/termios/tcgetpgrp.c2
-rw-r--r--libc/termios/tcgetsid.c4
-rw-r--r--libc/termios/tcsetattr.c2
-rw-r--r--libc/termios/ttyname.c10
8 files changed, 16 insertions, 16 deletions
diff --git a/libc/termios/cfsetspeed.c b/libc/termios/cfsetspeed.c
index 5d5eb8cda..bbafda0af 100644
--- a/libc/termios/cfsetspeed.c
+++ b/libc/termios/cfsetspeed.c
@@ -22,8 +22,8 @@
#ifdef __USE_BSD
-libc_hidden_proto(cfsetispeed)
-libc_hidden_proto(cfsetospeed)
+/* libc_hidden_proto(cfsetispeed) */
+/* libc_hidden_proto(cfsetospeed) */
struct speed_struct
{
diff --git a/libc/termios/isatty.c b/libc/termios/isatty.c
index 7532f334b..071bb35d9 100644
--- a/libc/termios/isatty.c
+++ b/libc/termios/isatty.c
@@ -19,8 +19,8 @@
#include <unistd.h>
#include <termios.h>
-libc_hidden_proto(isatty)
-libc_hidden_proto(tcgetattr)
+/* 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 52647b9cc..d4eabd9a1 100644
--- a/libc/termios/speed.c
+++ b/libc/termios/speed.c
@@ -22,8 +22,8 @@
#include <errno.h>
#include <termios.h>
-libc_hidden_proto(cfsetispeed)
-libc_hidden_proto(cfsetospeed)
+/* 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/tcgetattr.c b/libc/termios/tcgetattr.c
index e431868c2..47b885800 100644
--- a/libc/termios/tcgetattr.c
+++ b/libc/termios/tcgetattr.c
@@ -27,7 +27,7 @@
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(mempcpy) */
-libc_hidden_proto(tcgetattr)
+/* 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 ea42b3459..677e8b4dc 100644
--- a/libc/termios/tcgetpgrp.c
+++ b/libc/termios/tcgetpgrp.c
@@ -21,7 +21,7 @@
#include <unistd.h>
#include <sys/types.h>
-libc_hidden_proto(tcgetpgrp)
+/* libc_hidden_proto(tcgetpgrp) */
/* libc_hidden_proto(ioctl) */
/* Return the foreground process group ID of FD. */
diff --git a/libc/termios/tcgetsid.c b/libc/termios/tcgetsid.c
index 711b3bd63..b5d7cb697 100644
--- a/libc/termios/tcgetsid.c
+++ b/libc/termios/tcgetsid.c
@@ -23,8 +23,8 @@
#include <unistd.h>
/* libc_hidden_proto(ioctl) */
-libc_hidden_proto(getsid)
-libc_hidden_proto(tcgetpgrp)
+/* libc_hidden_proto(getsid) */
+/* libc_hidden_proto(tcgetpgrp) */
/* Return the session ID of FD. */
pid_t
diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c
index 2aac81a77..9f5533e08 100644
--- a/libc/termios/tcsetattr.c
+++ b/libc/termios/tcsetattr.c
@@ -22,7 +22,7 @@
#include <sys/ioctl.h>
#include <sys/types.h>
-libc_hidden_proto(tcsetattr)
+/* libc_hidden_proto(tcsetattr) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* libc_hidden_proto(ioctl) */
diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c
index 8af93e142..ac25c7658 100644
--- a/libc/termios/ttyname.c
+++ b/libc/termios/ttyname.c
@@ -31,15 +31,15 @@
#include <dirent.h>
#include <sys/stat.h>
-libc_hidden_proto(ttyname_r)
+/* 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)
+/* libc_hidden_proto(opendir) */
+/* libc_hidden_proto(closedir) */
+/* libc_hidden_proto(readdir) */
+/* libc_hidden_proto(isatty) */
#define TTYNAME_BUFLEN 32