summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/uuid/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/uuid/copy.c')
-rw-r--r--kexi/3rdparty/uuid/copy.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/kexi/3rdparty/uuid/copy.c b/kexi/3rdparty/uuid/copy.c
new file mode 100644
index 00000000..b9a34dac
--- /dev/null
+++ b/kexi/3rdparty/uuid/copy.c
@@ -0,0 +1,22 @@
+/*
+ * copy.c --- copy UUIDs
+ *
+ * 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 "uuidP.h"
+
+void uuid_copy(uuid_t dst, const uuid_t src)
+{
+ unsigned char *cp1;
+ const unsigned char *cp2;
+ int i;
+
+ for (i=0, cp1 = dst, cp2 = src; i < 16; i++)
+ *cp1++ = *cp2++;
+}