X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Ffgets.c;h=b01a4187037d81e6457e473c4e682e24787c9021;hb=96fbcf7d80f469e39d1dd12533f8bb8d13b64fe5;hp=3135a69a2b9ebfe7b8475af708295c9e7e626056;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;p=musl diff --git a/src/stdio/fgets.c b/src/stdio/fgets.c index 3135a69a..b01a4187 100644 --- a/src/stdio/fgets.c +++ b/src/stdio/fgets.c @@ -1,8 +1,9 @@ #include "stdio_impl.h" +#include #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;