X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Ffread.c;h=c461256c3b0de4d6af84c0df426710fa121ddc06;hp=5c2357776dc71ccf983ee7015f9ff2b02824bf69;hb=9cb6e6ea120cfaf1df9016883012d22fb57d43e1;hpb=94a0171d807dc94302d6505041fc58879c27f3bd diff --git a/src/stdio/fread.c b/src/stdio/fread.c index 5c235777..c461256c 100644 --- a/src/stdio/fread.c +++ b/src/stdio/fread.c @@ -1,8 +1,9 @@ #include "stdio_impl.h" +#include #define MIN(a,b) ((a)<(b) ? (a) : (b)) -size_t fread(void *destv, size_t size, size_t nmemb, FILE *f) +size_t fread(void *restrict destv, size_t size, size_t nmemb, FILE *restrict f) { unsigned char *dest = destv; size_t len = size*nmemb, l = len, k;