summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2018-03-22 17:57:05 +1300
committerAndrew Bartlett <abartlet@samba.org>2018-05-31 01:57:16 +0200
commitf9308648e9a675205ac57302aa6393a37723cddf (patch)
tree0ac3b25984851ad401fc6c66d6b2c9a834a5d601 /lib/util
parent2157e8d83e7d32e646e7054d969d6be59053378b (diff)
downloadsamba-f9308648e9a675205ac57302aa6393a37723cddf.tar.gz
util_str_hex: use array syntax in guid functions to document usage
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_str_hex.c4
-rw-r--r--lib/util/util_str_hex.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/util/util_str_hex.c b/lib/util/util_str_hex.c
index 148735bd5f3..792b4e8420b 100644
--- a/lib/util/util_str_hex.c
+++ b/lib/util/util_str_hex.c
@@ -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;
diff --git a/lib/util/util_str_hex.h b/lib/util/util_str_hex.h
index 2d0ba65636b..d0d53e3ed05 100644
--- a/lib/util/util_str_hex.h
+++ b/lib/util/util_str_hex.h
@@ -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]);