projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c9c66
)
replace functions with defines
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 11 Jun 2005 00:09:46 +0000
(
00:09
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 11 Jun 2005 00:09:46 +0000
(
00:09
-0000)
e2fsprogs/uuid/uuid.h
patch
|
blob
|
history
diff --git
a/e2fsprogs/uuid/uuid.h
b/e2fsprogs/uuid/uuid.h
index e9cf889aee385196868f0d4bfdbfc02c56ddeb6d..fbb937e119e480347b83f93de11736b425d43757 100644
(file)
--- 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);