aboutsummaryrefslogtreecommitdiff
path: root/common/bits.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:40:53 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:41:08 +0300
commitb096078c282af7233062ba242a213e6f5574cfb1 (patch)
tree56f08b2898d4721255c8a91caa7b1978488959c6 /common/bits.c
parent20d9959b74fdfba26250579f8a75374042bfaaaf (diff)
downloadkmi-b096078c282af7233062ba242a213e6f5574cfb1.tar.gz
kmi-b096078c282af7233062ba242a213e6f5574cfb1.zip
switch from clang-format to uncrustify
The output is close enough, and I like that uncrustify is a third-party tool, so people can install a single tool for formatting instead of having to lug around a whole toolchain. I fully expect to have to add settings to uncrustify.conf, but let's see how this goes.
Diffstat (limited to 'common/bits.c')
-rw-r--r--common/bits.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/bits.c b/common/bits.c
index dde39f7..92e7be2 100644
--- a/common/bits.c
+++ b/common/bits.c
@@ -29,7 +29,7 @@ __weak uint64_t __bswap64(const uint64_t u)
(u & 0x0000ff0000000000ULL) >> 24 |
(u & 0x000000ff00000000ULL) >> 8 |
(u & 0x00000000ff000000ULL) << 8 |
- (u & 0x0000000000ff0000ULL) << 24 |
- (u & 0x000000000000ff00ULL) << 40 |
- (u & 0x00000000000000ffULL) << 56;
+ (u & 0x0000000000ff0000ULL) << 24 |
+ (u & 0x000000000000ff00ULL) << 40 |
+ (u & 0x00000000000000ffULL) << 56;
}