cosmopolitan/tool/build
Jōshin 6e6fc38935
Apply clang-format update to repo (#1154)
Commit bc6c183 introduced a bunch of discrepancies between what files
look like in the repo and what clang-format says they should look like.
However, there were already a few discrepancies prior to that. Most of
these discrepancies seemed to be unintentional, but a few of them were
load-bearing (e.g., a #include that violated header ordering needing
something to have been #defined by a 'later' #include.)

I opted to take what I hope is a relatively smooth-brained approach: I
reverted the .clang-format change, ran clang-format on the whole repo,
reapplied the .clang-format change, reran clang-format again, and then
reverted the commit that contained the first run. Thus the full effect
of this PR should only be to apply the changed formatting rules to the
repo, and from skimming the results, this seems to be the case.

My work can be checked by applying the short, manual commits, and then
rerunning the command listed in the autogenerated commits (those whose
messages I have prefixed auto:) and seeing if your results agree.

It might be that the other diffs should be fixed at some point but I'm
leaving that aside for now.

fd '\.c(c|pp)?$' --print0| xargs -0 clang-format -i
2024-04-25 10:38:00 -07:00
..
dso Support 40 cosmo_dlopen() function parameters 2024-01-04 13:41:26 -08:00
lib Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
apelink.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ar.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
assimilate.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
bigmul.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
BUILD.mk Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
chmod.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
cocmd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
compile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
cp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
dd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
dlopen_test.c Support 40 cosmo_dlopen() function parameters 2024-01-04 13:41:26 -08:00
dropcache.c Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
echo.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
elf2pe.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
elf2pe.h Introduce new linker for fat ape binaries 2023-08-11 04:39:19 -07:00
false.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fastdiff.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
findape.c Make improvements 2024-02-12 10:23:00 -08:00
findelf.c Make improvements 2024-02-12 10:23:00 -08:00
findpe.c Make improvements 2024-02-12 10:23:00 -08:00
fixupobj.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
freebsd2sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
gzip.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
helpop.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
killall.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lz4toasm.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
march-native.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkdeps.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mkdir.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mktemper.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
nproc.c Cull the examples folder 2023-10-11 21:45:32 -07:00
objbincopy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
package.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pecheck.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pledge.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
printf.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pwd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
reboot.c Cull the examples folder 2023-10-11 21:45:32 -07:00
rm.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
rollup.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
runit.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
runit.h Fix bugs and add security features to redbean 2022-04-18 00:01:26 -07:00
runitd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sha256sum.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
shutdown.c Cull the examples folder 2023-10-11 21:45:32 -07:00
summy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
symtab.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
touch.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
unbuffer.c Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
unveil.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
verynice.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
zipcopy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
zipobj.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00