summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 15:27:04 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-28 15:23:18 +0000
commite8db08d2d7f09ca4e1d1013b7721b91035886caa (patch)
tree41ed71b0520679ce34ce75d9a4f56ed705586a6d /util
parent9419d4db436b1ed662f028281d94b720e2251c89 (diff)
downloadchrome-ec-e8db08d2d7f09ca4e1d1013b7721b91035886caa.tar.gz
util/misc_util.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I01c5013d8be986c69ec065c62626b577c7bec0b8 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730653 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/misc_util.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/util/misc_util.h b/util/misc_util.h
index 240d735556..52c5842105 100644
--- a/util/misc_util.h
+++ b/util/misc_util.h
@@ -7,8 +7,14 @@
#define __UTIL_MISC_UTIL_H
/* Don't use a macro where an inline will do... */
-static inline int MIN(int a, int b) { return a < b ? a : b; }
-static inline int MAX(int a, int b) { return a > b ? a : b; }
+static inline int MIN(int a, int b)
+{
+ return a < b ? a : b;
+}
+static inline int MAX(int a, int b)
+{
+ return a > b ? a : b;
+}
/**
* Write a buffer to the file.