diff options
author | Anton Kling <anton@kling.gg> | 2023-11-28 20:11:05 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-28 20:12:20 +0100 |
commit | d07fa25e04a19ccb9aa25bb6e2156d23d213db77 (patch) | |
tree | 25f2e4a6301f3ad7c5b158e74966a394862fdf39 /kernel/math.c | |
parent | 636858dbbd48ed9f5073793b46740302aa202f43 (diff) |
Meta: Apply new clang-format rules to kernel
Diffstat (limited to 'kernel/math.c')
-rw-r--r-- | kernel/math.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/math.c b/kernel/math.c index 2d5e30c..7018da0 100644 --- a/kernel/math.c +++ b/kernel/math.c @@ -1,3 +1,7 @@ #include <math.h> -int min(int a, int b) { return ((a) > (b) ? b : a); } -int max(int a, int b) { return (a > b) ? a : b; } +int min(int a, int b) { + return ((a) > (b) ? b : a); +} +int max(int a, int b) { + return (a > b) ? a : b; +} |