diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-06-11 00:09:46 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-06-11 00:09:46 +0000 |
commit | 094948fddd1e92bd0b487af4c92928a5dd196367 (patch) | |
tree | ac3acc9c2c193b94ffc4b5197820e3af61871817 | |
parent | 0c41c7c0e7736dd56c0d6146a5c60b3502b93e37 (diff) | |
download | busybox-w32-094948fddd1e92bd0b487af4c92928a5dd196367.tar.gz busybox-w32-094948fddd1e92bd0b487af4c92928a5dd196367.tar.bz2 busybox-w32-094948fddd1e92bd0b487af4c92928a5dd196367.zip |
replace functions with defines
git-svn-id: svn://busybox.net/trunk/busybox@10512 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | e2fsprogs/uuid/uuid.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/e2fsprogs/uuid/uuid.h b/e2fsprogs/uuid/uuid.h index e9cf889ae..fbb937e11 100644 --- a/e2fsprogs/uuid/uuid.h +++ b/e2fsprogs/uuid/uuid.h | |||
@@ -65,13 +65,15 @@ extern "C" { | |||
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | /* clear.c */ | 67 | /* clear.c */ |
68 | void uuid_clear(uuid_t uu); | 68 | /*void uuid_clear(uuid_t uu);*/ |
69 | #define uuid_clear(uu) memset(uu, 0, 16) | ||
69 | 70 | ||
70 | /* compare.c */ | 71 | /* compare.c */ |
71 | int uuid_compare(const uuid_t uu1, const uuid_t uu2); | 72 | int uuid_compare(const uuid_t uu1, const uuid_t uu2); |
72 | 73 | ||
73 | /* copy.c */ | 74 | /* copy.c */ |
74 | void uuid_copy(uuid_t dst, const uuid_t src); | 75 | /*void uuid_copy(uuid_t dst, const uuid_t src);*/ |
76 | #define uuid_copy(dst,src) memcpy(dst,src,16) | ||
75 | 77 | ||
76 | /* gen_uuid.c */ | 78 | /* gen_uuid.c */ |
77 | void uuid_generate(uuid_t out); | 79 | void uuid_generate(uuid_t out); |