sd-id128: expose ID128_UUID_FORMAT_STR

It is generally useful, and can be made public in the same manner that
SD_ID128_FORMAT_STR is.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-04-05 13:47:54 +02:00
parent 949082ac21
commit 38df8d3f52
5 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ int main(int argc, char *argv[]) {
assert_se(streq(q, UUID_WALDI));
b = mfree(b);
assert_se(asprintf(&b, ID128_UUID_FORMAT_STR, SD_ID128_FORMAT_VAL(ID128_WALDI)) == 36);
assert_se(asprintf(&b, SD_ID128_UUID_FORMAT_STR, SD_ID128_FORMAT_VAL(ID128_WALDI)) == 36);
printf("waldi4: %s\n", b);
assert_se(streq(q, b));