]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-uuid-dont-require-snprintf-in-ukernel-20020711
authorDerrick Brashear <shadow@dementia.org>
Thu, 11 Jul 2002 23:12:50 +0000 (23:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Jul 2002 23:12:50 +0000 (23:12 +0000)
because obviously not everything has it

(cherry picked from commit c927f48236dd489a33b0bc9fc3959baf1fae0e45)

src/util/uuid.c

index d7f11e5dc46bc29286542bfb704305543041dfa7..8cbd959ff21fec5a01ab109dead65992618a9dfd 100644 (file)
@@ -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; {