diff options
| author | Cédric Le Goater <clg@redhat.com> | 2023-10-26 09:06:36 +0200 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2023-11-03 09:20:31 +0100 |
| commit | 4ef9d97b1a37b8cfd152cc3ac5f9576e406868b1 (patch) | |
| tree | b3016f89a2a846ebfaabf90c126b5712d9dd4c1f /include/qemu/uuid.h | |
| parent | f8d6f3b16c37bd516a026e92a31dade5d761d3a6 (diff) | |
| download | focaccia-qemu-4ef9d97b1a37b8cfd152cc3ac5f9576e406868b1.tar.gz focaccia-qemu-4ef9d97b1a37b8cfd152cc3ac5f9576e406868b1.zip | |
util/uuid: Remove UUID_FMT_LEN
Dangerous and now unused. Cc: Fam Zheng <fam@euphon.net> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: "Denis V. Lunev" <den@openvz.org> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/qemu/uuid.h')
| -rw-r--r-- | include/qemu/uuid.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/qemu/uuid.h b/include/qemu/uuid.h index 4e7afaf1d5..356efe7b57 100644 --- a/include/qemu/uuid.h +++ b/include/qemu/uuid.h @@ -78,8 +78,7 @@ typedef struct { "%02hhx%02hhx-" \ "%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx" -#define UUID_FMT_LEN 36 -#define UUID_STR_LEN (UUID_FMT_LEN + 1) +#define UUID_STR_LEN (36 + 1) #define UUID_NONE "00000000-0000-0000-0000-000000000000" |