remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl] / src / stdio / fgetpos.c
index c3fa0eb..392f732 100644 (file)
@@ -4,8 +4,6 @@ int fgetpos(FILE *restrict f, fpos_t *restrict pos)
 {
        off_t off = __ftello(f);
        if (off < 0) return -1;
-       *(off_t *)pos = off;
+       *(long long *)pos = off;
        return 0;
 }
-
-LFS64(fgetpos);