]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
include: use unit8_t for uuid
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jul 2025 05:30:07 +0000 (14:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Jul 2025 04:05:46 +0000 (13:05 +0900)
To emphasize it is an array of bytes.
This also align variables.
No functional changes. Just refactoring.

src/include/override/linux/xfs.h

index 1f3b9af066a112ad240beea7530fb07a78d9f3b9..57112c74a5e56e3420d9f02026ecf0da136cc23f 100644 (file)
@@ -23,10 +23,10 @@ typedef struct xfs_fsop_geom {
         uint64_t rtblocks;
         uint64_t rtextents;
         uint64_t logstart;
-        unsigned char uuid[16];
+        uint8_t  uuid[16];
         uint32_t sunit;
         uint32_t swidth;
-        int32_t version;
+        int32_t  version;
         uint32_t flags;
         uint32_t logsectsize;
         uint32_t rtsectsize;