From db67a20595be279e7db9f5f8e27bd94534efb8d4 Mon Sep 17 00:00:00 2001 From: Vladimir Dronnikov Date: Thu, 15 Oct 2009 09:24:25 +0200 Subject: move generate_uuid from mkswap to libbb Signed-off-by: Vladimir Dronnikov Signed-off-by: Denys Vlasenko --- include/libbb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index be175d79f..6e629d187 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -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]; -- cgit v1.2.3