From b096078c282af7233062ba242a213e6f5574cfb1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 23 May 2022 20:40:53 +0300 Subject: 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. --- common/bits.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/bits.c') 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; } -- cgit v1.3