summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fputs.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
commit28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch)
treefda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/stdio/fputs.c
parenteb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff)
downloaduClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2
uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/stdio/fputs.c')
-rw-r--r--libc/stdio/fputs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/stdio/fputs.c b/libc/stdio/fputs.c
index 8a5fd4087..08da59c40 100644
--- a/libc/stdio/fputs.c
+++ b/libc/stdio/fputs.c
@@ -7,10 +7,10 @@
#include "_stdio.h"
-libc_hidden_proto(fputs_unlocked)
+/* libc_hidden_proto(fputs_unlocked) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(fwrite_unlocked)
+/* libc_hidden_proto(fwrite_unlocked) */
/* Note: The standard says fputs returns a nonnegative number on
* success. In this implementation, we return the length of the
@@ -29,14 +29,14 @@ int fputs_unlocked(register const char * __restrict s,
libc_hidden_def(fputs_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
strong_alias(fputs_unlocked,fputs)
libc_hidden_def(fputs)
#endif
#elif defined __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
int fputs(const char * __restrict s, register FILE * __restrict stream)
{
int retval;