util_str_hex: use array syntax in guid functions to document usage
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 22 Mar 2018 04:57:05 +0000 (17:57 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 May 2018 23:57:16 +0000 (01:57 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/util_str_hex.c
lib/util/util_str_hex.h

index 148735bd5f353a81febf171b605c296773e9ccc8..792b4e8420bd9ecbf8776139c287d064f42ac198 100644 (file)
@@ -38,8 +38,8 @@ NTSTATUS parse_guid_string(const char *s,
                           uint32_t *time_low,
                           uint32_t *time_mid,
                           uint32_t *time_hi_and_version,
-                          uint32_t *clock_seq,
-                          uint32_t *node)
+                          uint32_t clock_seq[2],
+                          uint32_t node[6])
 {
        uint64_t tmp;
        NTSTATUS status;
index 2d0ba65636b6d9e909d137e9479da5a11406f004..d0d53e3ed059e29d27a2b5eea5bbd38ebc7a02af 100644 (file)
@@ -6,5 +6,5 @@ NTSTATUS parse_guid_string(const char *s,
                           uint32_t *time_low,
                           uint32_t *time_mid,
                           uint32_t *time_hi_and_version,
-                          uint32_t *clock_seq,
-                          uint32_t *node);
+                          uint32_t clock_seq[2],
+                          uint32_t node[6]);