From: Derrick Brashear Date: Mon, 1 Jul 2002 17:26:29 +0000 (+0000) Subject: afs-uuid-no-string-functions-in-kernel-20020701 X-Git-Tag: openafs-devel_1_3_3~78 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=937149e3154746928a6535ef4b8ce52eee15dd4f;p=packages%2Fo%2Fopenafs.git afs-uuid-no-string-functions-in-kernel-20020701 some kernels have no sscanf. don't do it. --- diff --git a/src/util/uuid.c b/src/util/uuid.c index d7f11e5dc..a92302204 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; {