aboutsummaryrefslogtreecommitdiff
path: root/common/debug.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/debug.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/debug.c')
-rw-r--r--common/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/debug.c b/common/debug.c
index 15f71dc..0382ba4 100644
--- a/common/debug.c
+++ b/common/debug.c
@@ -341,7 +341,7 @@ static size_t __print_integral(ssize_t value, size_t base, size_t flags,
void dbg(const char *fmt, ...)
{
- /* largely inspired by
+ /* largely inspired by
* https://github.com/mpaland/printf/blob/master/printf.c
*/
@@ -533,7 +533,7 @@ void dbg(const char *fmt, ...)
width = precision;
/* formatting doesn't apply to decimal integers
- * */
+ * */
if (*fmt != 'i' && *fmt != 'd') {
__clear_bit(flags, SIGN_FLAG);
__set_bit(flags, UNSIGN_FLAG);