summaryrefslogtreecommitdiffstats
path: root/libc/termios
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-05-19 22:57:34 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-05-19 22:57:34 +0000
commit125773133f0fe2425ab3d8305ed880e9010f6803 (patch)
treeffba60dc39bff34a6dc51760c022c6945f8fd2b3 /libc/termios
parent498822b67f68710b11d64a5aaf66aa1b865ef86e (diff)
downloaduClibc-alpine-125773133f0fe2425ab3d8305ed880e9010f6803.tar.bz2
uClibc-alpine-125773133f0fe2425ab3d8305ed880e9010f6803.tar.xz
Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/tcgetattr.c6
-rw-r--r--libc/termios/tcsetattr.c2
-rw-r--r--libc/termios/ttyname.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/libc/termios/tcgetattr.c b/libc/termios/tcgetattr.c
index 726c83a44..a5a5df6b5 100644
--- a/libc/termios/tcgetattr.c
+++ b/libc/termios/tcgetattr.c
@@ -24,9 +24,9 @@
#include <sys/types.h>
libc_hidden_proto(ioctl)
-libc_hidden_proto(memset)
-libc_hidden_proto(memcpy)
-libc_hidden_proto(mempcpy)
+/* 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
diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c
index 847023f86..d0d82c2ac 100644
--- a/libc/termios/tcsetattr.c
+++ b/libc/termios/tcsetattr.c
@@ -23,7 +23,7 @@
#include <sys/types.h>
libc_hidden_proto(tcsetattr)
-libc_hidden_proto(memcpy)
+/* Experimentally off - libc_hidden_proto(memcpy) */
libc_hidden_proto(ioctl)
/* The difference here is that the termios structure used in the
diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c
index 001681caa..9d6a8ce36 100644
--- a/libc/termios/ttyname.c
+++ b/libc/termios/ttyname.c
@@ -34,8 +34,8 @@
libc_hidden_proto(ttyname_r)
libc_hidden_proto(fstat)
libc_hidden_proto(lstat)
-libc_hidden_proto(strcpy)
-libc_hidden_proto(strlen)
+/* Experimentally off - libc_hidden_proto(strcpy) */
+/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(opendir)
libc_hidden_proto(closedir)
libc_hidden_proto(readdir)