afs-uuid-no-string-functions-in-kernel-20020701

some kernels have no sscanf. don't do it.
This commit is contained in:
Derrick Brashear 2002-07-01 17:26:29 +00:00
parent 842925a2e8
commit 937149e315

View File

@ -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; {