fix popen not to leak pipes from one child to another
[musl] / src / misc / lockf.c
index d8f82ef..16a80be 100644 (file)
@@ -1,7 +1,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
-#include "libc.h"
 
 int lockf(int fd, int op, off_t size)
 {
@@ -30,4 +29,4 @@ int lockf(int fd, int op, off_t size)
        return -1;
 }
 
-LFS64(lockf);
+weak_alias(lockf, lockf64);