summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/uuid/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/uuid/clear.c')
-rw-r--r--kexi/3rdparty/uuid/clear.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/kexi/3rdparty/uuid/clear.c b/kexi/3rdparty/uuid/clear.c
new file mode 100644
index 00000000..9cfe59aa
--- /dev/null
+++ b/kexi/3rdparty/uuid/clear.c
@@ -0,0 +1,20 @@
+/*
+ * clear.c -- Clear a UUID
+ *
+ * Copyright (C) 1996, 1997 Theodore Ts'o.
+ *
+ * %Begin-Header%
+ * This file may be redistributed under the terms of the GNU
+ * Library General Public License.
+ * %End-Header%
+ */
+
+#include "string.h"
+
+#include "uuidP.h"
+
+void uuid_clear(uuid_t uu)
+{
+ memset(uu, 0, 16);
+}
+