summaryrefslogtreecommitdiff
path: root/libc/stdio/fopencookie.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:49:09 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:49:09 +0000
commite385ba0d0df0854d3f46df7bc37785ef4422f278 (patch)
treef752d766a8f50590ba0c5f9319146a2cc911648f /libc/stdio/fopencookie.c
parent960acb5e3248b2ba657f65ea011703c57539c5a8 (diff)
Hide some of the f* *printf, use them as well
Diffstat (limited to 'libc/stdio/fopencookie.c')
-rw-r--r--libc/stdio/fopencookie.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdio/fopencookie.c b/libc/stdio/fopencookie.c
index 73a5a028a..a70e17b80 100644
--- a/libc/stdio/fopencookie.c
+++ b/libc/stdio/fopencookie.c
@@ -28,7 +28,7 @@
/* Currently no real reentrancy issues other than a possible double close(). */
#ifndef __BCC__
-FILE *fopencookie(void * __restrict cookie, const char * __restrict mode,
+FILE attribute_hidden *__fopencookie(void * __restrict cookie, const char * __restrict mode,
cookie_io_functions_t io_functions)
#else
FILE *_fopencookie(void * __restrict cookie, const char * __restrict mode,
@@ -57,3 +57,6 @@ FILE *_fopencookie(void * __restrict cookie, const char * __restrict mode,
return stream;
}
+#ifndef __BCC__
+strong_alias(__fopencookie,fopencookie)
+#endif