summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/tcdrain.c2
-rw-r--r--libc/termios/tcflow.c2
-rw-r--r--libc/termios/tcflush.c2
-rw-r--r--libc/termios/tcgetattr.c2
-rw-r--r--libc/termios/tcgetpgrp.c2
-rw-r--r--libc/termios/tcgetsid.c2
-rw-r--r--libc/termios/tcsendbrk.c2
-rw-r--r--libc/termios/tcsetattr.c2
-rw-r--r--libc/termios/tcsetpgrp.c2
-rw-r--r--libc/termios/ttyname.c4
10 files changed, 11 insertions, 11 deletions
diff --git a/libc/termios/tcdrain.c b/libc/termios/tcdrain.c
index a13374cb5..0158649bd 100644
--- a/libc/termios/tcdrain.c
+++ b/libc/termios/tcdrain.c
@@ -20,7 +20,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
extern __typeof(tcdrain) __libc_tcdrain;
/* Wait for pending output to be written on FD. */
diff --git a/libc/termios/tcflow.c b/libc/termios/tcflow.c
index 63f96a860..6a1bf12f6 100644
--- a/libc/termios/tcflow.c
+++ b/libc/termios/tcflow.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* 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 159231fb1..28e88c854 100644
--- a/libc/termios/tcflush.c
+++ b/libc/termios/tcflush.c
@@ -21,7 +21,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Flush pending data on FD. */
int
diff --git a/libc/termios/tcgetattr.c b/libc/termios/tcgetattr.c
index 541beb4f6..e431868c2 100644
--- a/libc/termios/tcgetattr.c
+++ b/libc/termios/tcgetattr.c
@@ -23,7 +23,7 @@
#include <sys/ioctl.h>
#include <sys/types.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(mempcpy) */
diff --git a/libc/termios/tcgetpgrp.c b/libc/termios/tcgetpgrp.c
index 1ad317139..ea42b3459 100644
--- a/libc/termios/tcgetpgrp.c
+++ b/libc/termios/tcgetpgrp.c
@@ -22,7 +22,7 @@
#include <sys/types.h>
libc_hidden_proto(tcgetpgrp)
-libc_hidden_proto(ioctl)
+/* 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 8d3a40242..711b3bd63 100644
--- a/libc/termios/tcgetsid.c
+++ b/libc/termios/tcgetsid.c
@@ -22,7 +22,7 @@
#include <sys/types.h>
#include <unistd.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
libc_hidden_proto(getsid)
libc_hidden_proto(tcgetpgrp)
diff --git a/libc/termios/tcsendbrk.c b/libc/termios/tcsendbrk.c
index ae04cb947..53ea662a7 100644
--- a/libc/termios/tcsendbrk.c
+++ b/libc/termios/tcsendbrk.c
@@ -22,7 +22,7 @@
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Send zero bits on FD. */
int
diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c
index d0d82c2ac..2aac81a77 100644
--- a/libc/termios/tcsetattr.c
+++ b/libc/termios/tcsetattr.c
@@ -24,7 +24,7 @@
libc_hidden_proto(tcsetattr)
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(ioctl)
+/* 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 9bf1cdaef..dbf07f216 100644
--- a/libc/termios/tcsetpgrp.c
+++ b/libc/termios/tcsetpgrp.c
@@ -21,7 +21,7 @@
#include <errno.h>
#include <unistd.h>
-libc_hidden_proto(ioctl)
+/* 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 9d6a8ce36..8af93e142 100644
--- a/libc/termios/ttyname.c
+++ b/libc/termios/ttyname.c
@@ -32,8 +32,8 @@
#include <sys/stat.h>
libc_hidden_proto(ttyname_r)
-libc_hidden_proto(fstat)
-libc_hidden_proto(lstat)
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(lstat) */
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(opendir)