summaryrefslogtreecommitdiff
path: root/libc/stdio/fclose.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-10 00:20:35 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-10 00:20:35 +0000
commitf445c58e7015240d1e68aa3d7c2cf50a298e2c2a (patch)
tree8f04b68833d8339d0ba252b5a2ec00752d0129d4 /libc/stdio/fclose.c
parent73130cae6071638370bf04d965f1e076c9710548 (diff)
Do hidden fread/fwrite/fclose
Diffstat (limited to 'libc/stdio/fclose.c')
-rw-r--r--libc/stdio/fclose.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/fclose.c b/libc/stdio/fclose.c
index 4df2e4229..4f5e479fe 100644
--- a/libc/stdio/fclose.c
+++ b/libc/stdio/fclose.c
@@ -7,7 +7,8 @@
#include "_stdio.h"
-int fclose(register FILE *stream)
+#undef fclose
+int attribute_hidden __fclose(register FILE *stream)
{
int rv = 0;
__STDIO_AUTO_THREADLOCK_VAR;
@@ -84,3 +85,4 @@ int fclose(register FILE *stream)
return rv;
}
+strong_alias(__fclose,fclose)