diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-19 22:57:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-19 22:57:34 +0000 |
commit | 125773133f0fe2425ab3d8305ed880e9010f6803 (patch) | |
tree | ffba60dc39bff34a6dc51760c022c6945f8fd2b3 /libc/misc/utmp | |
parent | 498822b67f68710b11d64a5aaf66aa1b865ef86e (diff) |
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/misc/utmp')
-rw-r--r-- | libc/misc/utmp/utent.c | 6 | ||||
-rw-r--r-- | libc/misc/utmp/wtent.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c index ac53f1d30..d71aa312f 100644 --- a/libc/misc/utmp/utent.c +++ b/libc/misc/utmp/utent.c @@ -21,9 +21,9 @@ #include <string.h> #include <utmp.h> -libc_hidden_proto(strcmp) -libc_hidden_proto(strdup) -libc_hidden_proto(strncmp) +/* Experimentally off - libc_hidden_proto(strcmp) */ +/* Experimentally off - libc_hidden_proto(strdup) */ +/* Experimentally off - libc_hidden_proto(strncmp) */ libc_hidden_proto(read) libc_hidden_proto(write) libc_hidden_proto(open) diff --git a/libc/misc/utmp/wtent.c b/libc/misc/utmp/wtent.c index 0378070e7..9430bbb19 100644 --- a/libc/misc/utmp/wtent.c +++ b/libc/misc/utmp/wtent.c @@ -15,8 +15,8 @@ #include <sys/file.h> #if 0 -libc_hidden_proto(memset) -libc_hidden_proto(strncpy) +/* Experimentally off - libc_hidden_proto(memset) */ +/* Experimentally off - libc_hidden_proto(strncpy) */ libc_hidden_proto(updwtmp) #endif libc_hidden_proto(open) |