move generate_uuid from mkswap to libbb
Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
7eabffafa5
commit
db67a20595
@ -701,6 +701,9 @@ const char *make_human_readable_str(unsigned long long size,
|
||||
/* Put a string of hex bytes ("1b2e66fe"...), return advanced pointer */
|
||||
char *bin2hex(char *buf, const char *cp, int count) FAST_FUNC;
|
||||
|
||||
/* Generate a UUID */
|
||||
void generate_uuid(uint8_t *buf) FAST_FUNC;
|
||||
|
||||
/* Last element is marked by mult == 0 */
|
||||
struct suffix_mult {
|
||||
char suffix[4];
|
||||
|
Reference in New Issue
Block a user