summaryrefslogtreecommitdiff
path: root/src/stdio/fwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fwrite.c')
-rw-r--r--src/stdio/fwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/fwrite.c b/src/stdio/fwrite.c
index 1b8641ac..8027b306 100644
--- a/src/stdio/fwrite.c
+++ b/src/stdio/fwrite.c
@@ -1,6 +1,6 @@
#include "stdio_impl.h"
-size_t __fwritex(const unsigned char *s, size_t l, FILE *f)
+size_t __fwritex(const unsigned char *restrict s, size_t l, FILE *restrict f)
{
size_t i=0;
@@ -24,7 +24,7 @@ size_t __fwritex(const unsigned char *s, size_t l, FILE *f)
return l+i;
}
-size_t fwrite(const void *src, size_t size, size_t nmemb, FILE *f)
+size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f)
{
size_t k, l = size*nmemb;
if (!l) return l;