projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix crash from corrupted tls module list after failed dlopen
[oweals/musl.git]
/
src
/
stdio
/
fgetpos.c
diff --git
a/src/stdio/fgetpos.c
b/src/stdio/fgetpos.c
index 5b663d1e172a887f052bfa44e0862558a040c2b8..c3fa0eb0af42982153d5222a7b76e51f941e941e 100644
(file)
--- a/
src/stdio/fgetpos.c
+++ b/
src/stdio/fgetpos.c
@@
-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;