clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: Ic5fd073faa7391d3f0b37787d6a9c7688c9a3253
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/user_channel/user_layer.hpp b/user_channel/user_layer.hpp
index 8258f6b..ad215e3 100644
--- a/user_channel/user_layer.hpp
+++ b/user_channel/user_layer.hpp
@@ -50,18 +50,18 @@
struct PrivAccess
{
#if BYTE_ORDER == LITTLE_ENDIAN
- uint8_t privilege : 4;
- uint8_t ipmiEnabled : 1;
- uint8_t linkAuthEnabled : 1;
- uint8_t accessCallback : 1;
- uint8_t reserved : 1;
+ uint8_t privilege:4;
+ uint8_t ipmiEnabled:1;
+ uint8_t linkAuthEnabled:1;
+ uint8_t accessCallback:1;
+ uint8_t reserved:1;
#endif
#if BYTE_ORDER == BIG_ENDIAN
- uint8_t reserved : 1;
- uint8_t accessCallback : 1;
- uint8_t linkAuthEnabled : 1;
- uint8_t ipmiEnabled : 1;
- uint8_t privilege : 4;
+ uint8_t reserved:1;
+ uint8_t accessCallback:1;
+ uint8_t linkAuthEnabled:1;
+ uint8_t ipmiEnabled:1;
+ uint8_t privilege:4;
#endif
} __attribute__((packed));