aboutsummaryrefslogtreecommitdiff
path: root/include/uuid.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-18 07:55:54 -0500
committerTom Rini <trini@konsulko.com>2021-01-18 07:55:54 -0500
commit19c5fdffdc41bfd606b455b46e834d1bff4b2c1e (patch)
treedb1c5abebf12e9aaef80d8e22a472357027b5287 /include/uuid.h
parent14ea1b3635b4af8d9e283e3671f7ee872d50b859 (diff)
parentad80a8d0877922db95fd0410314504c840d9d850 (diff)
Merge branch '2021-01-16-assorted-improvements'
- Assorted testing improvements and fixes - Assorted code cleanups
Diffstat (limited to 'include/uuid.h')
-rw-r--r--include/uuid.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/uuid.h b/include/uuid.h
index 73c5a89ec7..0c653cb087 100644
--- a/include/uuid.h
+++ b/include/uuid.h
@@ -39,10 +39,8 @@ int uuid_str_to_bin(const char *uuid_str, unsigned char *uuid_bin,
int str_format);
void uuid_bin_to_str(const unsigned char *uuid_bin, char *uuid_str,
int str_format);
-#ifdef CONFIG_PARTITION_TYPE_GUID
int uuid_guid_get_bin(const char *guid_str, unsigned char *guid_bin);
-int uuid_guid_get_str(const unsigned char *guid_bin, char *guid_str);
-#endif
+const char *uuid_guid_get_str(const unsigned char *guid_bin);
void gen_rand_uuid(unsigned char *uuid_bin);
void gen_rand_uuid_str(char *uuid_str, int str_format);
#endif