Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #include "stdio_impl.h" | 1 #include "stdio_impl.h" |
| 2 #include <string.h> | 2 #include <string.h> |
| 3 | 3 |
| 4 int fputs(const char *restrict s, FILE *restrict f) | 4 int fputs(const char* restrict s, FILE* restrict f) { |
| 5 { | 5 return (int)fwrite(s, strlen(s), 1, f) - 1; |
| 6 » return (int)fwrite(s, strlen(s), 1, f) - 1; | |
| 7 } | 6 } |
| 8 | 7 |
| 9 weak_alias(fputs, fputs_unlocked); | 8 weak_alias(fputs, fputs_unlocked); |
| OLD | NEW |