summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fopen.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-07 02:32:27 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-07 02:32:27 +0000
commite523bd15353350c3480b8a1820a0944b0fa8212e (patch)
tree60485116f9c62c306bb753f12f9d4eb79d16aa4e /libc/stdio/fopen.c
parent3b3434516a3415d7e0f4e1d50c553876dcb337b2 (diff)
downloaduClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.bz2
uClibc-alpine-e523bd15353350c3480b8a1820a0944b0fa8212e.tar.xz
Big fricking merge from trunk.
Diffstat (limited to 'libc/stdio/fopen.c')
-rw-r--r--libc/stdio/fopen.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/stdio/fopen.c b/libc/stdio/fopen.c
index 244304acf..ad5d1aa92 100644
--- a/libc/stdio/fopen.c
+++ b/libc/stdio/fopen.c
@@ -9,9 +9,15 @@
#ifndef __DO_LARGEFILE
# define FILEDES_ARG (-1)
+#undef __fopen
+#undef fopen
+#else
+#undef __fopen64
+#undef fopen64
#endif
-FILE *fopen(const char * __restrict filename, const char * __restrict mode)
+FILE attribute_hidden *__fopen(const char * __restrict filename, const char * __restrict mode)
{
return _stdio_fopen(((intptr_t) filename), mode, NULL, FILEDES_ARG);
}
+strong_alias(__fopen,fopen)