move core memalign code from aligned_alloc to __memalign
[musl] / src / stdio / fputs.c
index e6bdb20..1112b19 100644 (file)
@@ -1,6 +1,7 @@
 #include "stdio_impl.h"
+#include <string.h>
 
-int fputs(const char *s, FILE *f)
+int fputs(const char *restrict s, FILE *restrict f)
 {
        size_t l = strlen(s);
        if (!l) return 0;