remove duplicate definitions of INET[6]_ADDRSTRLEN
[musl] / src / stdio / __stdio_close.c
index 9f7ee18..79452bd 100644 (file)
@@ -1,6 +1,13 @@
 #include "stdio_impl.h"
 
+static int dummy(int fd)
+{
+       return fd;
+}
+
+weak_alias(dummy, __aio_close);
+
 int __stdio_close(FILE *f)
 {
-       return syscall(SYS_close, f->fd);
+       return syscall(SYS_close, __aio_close(f->fd));
 }