From: Derrick Brashear Date: Thu, 11 Jul 2002 23:12:50 +0000 (+0000) Subject: STABLE12-uuid-dont-require-snprintf-in-ukernel-20020711 X-Git-Tag: openafs-stable-1_2_6~35 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6f9da72a715993d7b872a521159db6988cfca8e6;p=packages%2Fo%2Fopenafs.git STABLE12-uuid-dont-require-snprintf-in-ukernel-20020711 because obviously not everything has it (cherry picked from commit c927f48236dd489a33b0bc9fc3959baf1fae0e45) --- diff --git a/src/util/uuid.c b/src/util/uuid.c index d7f11e5dc..8cbd959ff 100644 --- a/src/util/uuid.c +++ b/src/util/uuid.c @@ -141,6 +141,7 @@ uuid_time_p_t time2; { return (0); } +#if !defined(KERNEL) && !defined(UKERNEL) /* * Converts a string UUID to binary representation. */ @@ -198,6 +199,7 @@ afsUUID_to_string(const afsUUID *uuid, char *str, size_t strsz) return 0; } +#endif afs_int32 afs_uuid_create (uuid) afsUUID *uuid; {