clang-format

This commit is contained in:
2024-09-10 13:03:02 -04:00
parent 53c617d779
commit d66450e427
381 changed files with 28864 additions and 34170 deletions

View File

@@ -37,14 +37,12 @@
* writing that code is not really worthwhile.
*/
int
putchar(int ch)
{
char c = ch;
int len;
len = write(STDOUT_FILENO, &c, 1);
if (len<=0) {
return EOF;
}
return ch;
int putchar(int ch) {
char c = ch;
int len;
len = write(STDOUT_FILENO, &c, 1);
if (len <= 0) {
return EOF;
}
return ch;
}