git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
842925a
)
afs-uuid-no-string-functions-in-kernel-20020701
author
Derrick Brashear
<shadow@dementia.org>
Mon, 1 Jul 2002 17:26:29 +0000 (17:26 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 1 Jul 2002 17:26:29 +0000 (17:26 +0000)
some kernels have no sscanf. don't do it.
src/util/uuid.c
patch
|
blob
|
history
diff --git
a/src/util/uuid.c
b/src/util/uuid.c
index
d7f11e5
..
a923022
100644
(file)
--- 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; {