diff options
author | Karel Zak | 2017-09-15 13:25:32 +0200 |
---|---|---|
committer | Karel Zak | 2017-09-15 13:25:32 +0200 |
commit | 9f20d800799fb1b5104cd87f9c3c68c9b159491f (patch) | |
tree | 89509a047aeec9f377359f9ecf419c221705296f /libuuid | |
parent | logger: make stdin parsing more friendly to static analyzers (diff) | |
download | kernel-qcow2-util-linux-9f20d800799fb1b5104cd87f9c3c68c9b159491f.tar.gz kernel-qcow2-util-linux-9f20d800799fb1b5104cd87f9c3c68c9b159491f.tar.xz kernel-qcow2-util-linux-9f20d800799fb1b5104cd87f9c3c68c9b159491f.zip |
misc: cleanup UUID_STR_LEN definitions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libuuid')
-rw-r--r-- | libuuid/src/uuid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libuuid/src/uuid.h b/libuuid/src/uuid.h index 2fd470558..03c232caa 100644 --- a/libuuid/src/uuid.h +++ b/libuuid/src/uuid.h @@ -62,6 +62,8 @@ typedef unsigned char uuid_t[16]; #define UUID_TYPE_SHIFT 4 #define UUID_TYPE_MASK 0xf +#define UUID_STR_LEN 37 + /* Allow UUID constants to be defined */ #ifdef __GNUC__ #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ @@ -99,8 +101,6 @@ extern int uuid_is_null(const uuid_t uu); /* parse.c */ extern int uuid_parse(const char *in, uuid_t uu); -#define UUID_STR_LEN 37 - /* unparse.c */ extern void uuid_unparse(const uuid_t uu, char *out); extern void uuid_unparse_lower(const uuid_t uu, char *out); |