← Commit list

3968082df

Mike Frysinger
Mike Frysinger
2005-06-11
FAILED Duration: 48s

Subject

replace functions with defines

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

e2fsprogs/uuid/uuid.h+4 -2
@@ -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);