diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-12-10 11:32:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-01-20 17:42:03 +0100 |
commit | 1293a168f16d16682e1b1628dddb67b62dc02c64 (patch) | |
tree | 4df5c4265279472efef0741c12953e5bc34be914 /src/libsystemd/sd-id128/id128-util.h | |
parent | makefs: simplify SPDX header (diff) | |
download | systemd-1293a168f16d16682e1b1628dddb67b62dc02c64.tar.xz systemd-1293a168f16d16682e1b1628dddb67b62dc02c64.zip |
id128: move make_v4_uuid into id128-util.h to make it generally useful
Diffstat (limited to 'src/libsystemd/sd-id128/id128-util.h')
-rw-r--r-- | src/libsystemd/sd-id128/id128-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-id128/id128-util.h b/src/libsystemd/sd-id128/id128-util.h index fe0149a8aa..1901bf119f 100644 --- a/src/libsystemd/sd-id128/id128-util.h +++ b/src/libsystemd/sd-id128/id128-util.h @@ -30,3 +30,5 @@ int id128_write(const char *p, Id128Format f, sd_id128_t id, bool do_sync); void id128_hash_func(const sd_id128_t *p, struct siphash *state); int id128_compare_func(const sd_id128_t *a, const sd_id128_t *b) _pure_; extern const struct hash_ops id128_hash_ops; + +sd_id128_t id128_make_v4_uuid(sd_id128_t id); |