diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-23 20:40:53 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-23 20:41:08 +0300 |
| commit | b096078c282af7233062ba242a213e6f5574cfb1 (patch) | |
| tree | 56f08b2898d4721255c8a91caa7b1978488959c6 /common/uapi/timers.c | |
| parent | 20d9959b74fdfba26250579f8a75374042bfaaaf (diff) | |
| download | kmi-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/uapi/timers.c')
| -rw-r--r-- | common/uapi/timers.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/uapi/timers.c b/common/uapi/timers.c index ca2443b..27928a3 100644 --- a/common/uapi/timers.c +++ b/common/uapi/timers.c @@ -24,14 +24,18 @@ SYSCALL_DEFINE0(timebase)() SYSCALL_DEFINE2(req_rel_timer)(sys_arg_t ticks, sys_arg_t repeat) { return (struct sys_ret){ - OK, new_rel_timer(cur_tcb()->tid, scaled_ticks(ticks, repeat)) + OK, + new_rel_timer(cur_tcb()->tid, + scaled_ticks(ticks, repeat)) }; } SYSCALL_DEFINE2(req_abs_timer)(sys_arg_t ticks, sys_arg_t repeat) { return (struct sys_ret){ - OK, new_abs_timer(cur_tcb()->tid, scaled_ticks(ticks, repeat)) + OK, + new_abs_timer(cur_tcb()->tid, + scaled_ticks(ticks, repeat)) }; } |
