summaryrefslogtreecommitdiff
path: root/libc/stdio/fclose.c
diff options
context:
space:
mode:
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)