use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / fputs.c
1 #include "stdio_impl.h"
2
3 int fputs(const char *restrict s, FILE *restrict f)
4 {
5         size_t l = strlen(s);
6         if (!l) return 0;
7         return (int)fwrite(s, l, 1, f) - 1;
8 }
9
10 weak_alias(fputs, fputs_unlocked);