From b9a10641dd75fed9bbcd27f6ddbb2b9246f25fe7 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 5 Sep 2012 13:41:48 -0400 Subject: [PATCH] opr: export uuid packing routines in the kernel these are actually kernel-safe. allow their use Change-Id: Id0b9e21701dcdf7e43f75a5a9b240cb7579a8d7b Reviewed-on: http://gerrit.openafs.org/8044 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- src/opr/uuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/opr/uuid.c b/src/opr/uuid.c index 451712de89..2b26efeb28 100644 --- a/src/opr/uuid.c +++ b/src/opr/uuid.c @@ -118,6 +118,8 @@ opr_uuid_fromString(opr_uuid_t *uuid, const char *string) return 0; } +#endif + void opr_uuid_pack(opr_uuid_t *uuid, const struct opr_uuid_unpacked *raw) { @@ -160,4 +162,3 @@ opr_uuid_unpack(const opr_uuid_t *uuid, struct opr_uuid_unpacked *raw) memcpy(&raw->node, &uuid->data[10], 6); } -#endif