From 3968082df49de5c417a0a45953333662e3f88b63 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 11 Jun 2005 00:09:46 +0000 Subject: replace functions with defines --- e2fsprogs/uuid/uuid.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e2fsprogs/uuid/uuid.h b/e2fsprogs/uuid/uuid.h index e9cf889..fbb937e 100644 --- a/e2fsprogs/uuid/uuid.h +++ b/e2fsprogs/uuid/uuid.h @@ -65,13 +65,15 @@ extern "C" { #endif /* clear.c */ -void uuid_clear(uuid_t uu); +/*void uuid_clear(uuid_t uu);*/ +#define uuid_clear(uu) memset(uu, 0, 16) /* compare.c */ int uuid_compare(const uuid_t uu1, const uuid_t uu2); /* copy.c */ -void uuid_copy(uuid_t dst, const uuid_t src); +/*void uuid_copy(uuid_t dst, const uuid_t src);*/ +#define uuid_copy(dst,src) memcpy(dst,src,16) /* gen_uuid.c */ void uuid_generate(uuid_t out); -- cgit v1.1