[BusyBox-cvs] svn commit: trunk/busybox/e2fsprogs/uuid

vapier at busybox.net vapier at busybox.net
Sat Jun 11 00:09:47 UTC 2005


Author: vapier
Date: 2005-06-10 18:09:46 -0600 (Fri, 10 Jun 2005)
New Revision: 10512

Log:
replace functions with defines

Modified:
   trunk/busybox/e2fsprogs/uuid/uuid.h


Changeset:
Modified: trunk/busybox/e2fsprogs/uuid/uuid.h
===================================================================
--- trunk/busybox/e2fsprogs/uuid/uuid.h	2005-06-11 00:09:39 UTC (rev 10511)
+++ trunk/busybox/e2fsprogs/uuid/uuid.h	2005-06-11 00:09:46 UTC (rev 10512)
@@ -65,13 +65,15 @@
 #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);




More information about the busybox-cvs mailing list