fix uninitialized mode variable in openat function
[musl] / src / fcntl / posix_fadvise.c
index 2170209..d5360e0 100644 (file)
@@ -1,8 +1,11 @@
 #include <fcntl.h>
 #include "syscall.h"
+#include "libc.h"
 
 int posix_fadvise(int fd, off_t base, off_t len, int advice)
 {
        return -(__syscall)(SYS_fadvise, fd, __SYSCALL_LL_O(base),
                __SYSCALL_LL_E(len), advice);
 }
+
+LFS64(posix_fadvise);