Run clang-format on most sources

This commit is contained in:
Justine Tunney 2023-04-26 20:45:01 -07:00
parent 614229e3f4
commit 369f9740de
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
228 changed files with 4844 additions and 4637 deletions

View file

@ -45,13 +45,10 @@ ssize_t sys_readv_vga(struct Fd *fd, const struct iovec *iov, int iovlen) {
void *input = iov[i].iov_base;
size_t len = iov[i].iov_len;
res = _TtyRead(&_vga_tty, input, len);
if (res < 0)
break;
if (res < 0) break;
redd += res;
if (redd != len)
return redd;
if (redd != len) return redd;
}
if (!redd)
return res;
if (!redd) return res;
return redd;
}