From 937149e3154746928a6535ef4b8ce52eee15dd4f Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 1 Jul 2002 17:26:29 +0000 Subject: [PATCH] afs-uuid-no-string-functions-in-kernel-20020701 some kernels have no sscanf. don't do it. --- src/util/uuid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/uuid.c b/src/util/uuid.c index d7f11e5dc4..a923022042 100644 --- a/src/util/uuid.c +++ b/src/util/uuid.c @@ -145,6 +145,7 @@ uuid_time_p_t time2; { * Converts a string UUID to binary representation. */ +#ifndef KERNEL int afsUUID_from_string(const char *str, afsUUID *uuid) { @@ -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; {