From: Derrick Brashear Date: Wed, 5 Sep 2012 17:41:48 +0000 (-0400) Subject: opr: export uuid packing routines in the kernel X-Git-Tag: upstream/1.8.0_pre1^2~2045 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b9a10641dd75fed9bbcd27f6ddbb2b9246f25fe7;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/opr/uuid.c b/src/opr/uuid.c index 451712de8..2b26efeb2 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