use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / fgetpos.c
index 5b663d1..c3fa0eb 100644 (file)
@@ -1,6 +1,6 @@
 #include "stdio_impl.h"
 
-int fgetpos(FILE *f, fpos_t *pos)
+int fgetpos(FILE *restrict f, fpos_t *restrict pos)
 {
        off_t off = __ftello(f);
        if (off < 0) return -1;