mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
afs-uuid-no-string-functions-in-kernel-20020701
some kernels have no sscanf. don't do it.
This commit is contained in:
parent
842925a2e8
commit
937149e315
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user