projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keep user-provided CFLAGS/LDFLAGS separate from those added by configure
[musl]
/
src
/
stdio
/
__stdio_close.c
diff --git
a/src/stdio/__stdio_close.c
b/src/stdio/__stdio_close.c
index
9f7ee18
..
79452bd
100644
(file)
--- a/
src/stdio/__stdio_close.c
+++ b/
src/stdio/__stdio_close.c
@@
-1,6
+1,13
@@
#include "stdio_impl.h"
#include "stdio_impl.h"
+static int dummy(int fd)
+{
+ return fd;
+}
+
+weak_alias(dummy, __aio_close);
+
int __stdio_close(FILE *f)
{
int __stdio_close(FILE *f)
{
- return syscall(SYS_close,
f->fd
);
+ return syscall(SYS_close,
__aio_close(f->fd)
);
}
}