X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Ffgets.c;h=ee0ac30e83bc40a914859fbb770526590a27bfac;hp=3135a69a2b9ebfe7b8475af708295c9e7e626056;hb=5271ff46b9e983bec5fd9ab79d5aaf096fa54157;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30 diff --git a/src/stdio/fgets.c b/src/stdio/fgets.c index 3135a69a..ee0ac30e 100644 --- a/src/stdio/fgets.c +++ b/src/stdio/fgets.c @@ -2,7 +2,7 @@ #define MIN(a,b) ((a)<(b) ? (a) : (b)) -char *fgets(char *s, int n, FILE *f) +char *fgets(char *restrict s, int n, FILE *restrict f) { char *p = s; unsigned char *z;