diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:14:10 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-28 12:45:13 +0000 |
commit | c4d874233483c5c700869ca51a84eea1cd31010c (patch) | |
tree | 7c64b063731e1e72530ee1b9ab798bbbe72a81fb /builtin | |
parent | 48a7b61dfdd626d498372b4efca68cf669cbe585 (diff) | |
download | chrome-ec-c4d874233483c5c700869ca51a84eea1cd31010c.tar.gz |
builtin/endian.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I694fb45a5eebb5049d0c7709d84615d1627e0bf0
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729144
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/endian.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/endian.h b/builtin/endian.h index 65c064bb78..88fd39d558 100644 --- a/builtin/endian.h +++ b/builtin/endian.h @@ -17,7 +17,7 @@ extern "C" { * host byte order. Note that the code currently does not require functions * for converting little endian integers. */ -#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) +#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) static inline uint16_t be16toh(uint16_t in) { @@ -40,10 +40,10 @@ static inline uint64_t be64toh(uint64_t in) #define htole32(x) (uint32_t)(x) #define htole64(x) (uint64_t)(x) -#endif /* __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ */ +#endif /* __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ */ #ifdef __cplusplus } #endif -#endif /* __EC_BUILTIN_ENDIAN_H */ +#endif /* __EC_BUILTIN_ENDIAN_H */ |