git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove valgrind_strlen function, hopefully no longer needed with
[samba.git]
/
source3
/
lib
/
util_str.c
diff --git
a/source3/lib/util_str.c
b/source3/lib/util_str.c
index 924cf9d921465ca4c303c74fee03cc1755c02fa4..7dd5ee42423706ae93c4027d8e54c92ca85c7fe8 100644
(file)
--- a/
source3/lib/util_str.c
+++ b/
source3/lib/util_str.c
@@
-1667,12
+1667,3
@@
char * base64_encode_data_blob(DATA_BLOB data)
return result;
}
-#ifdef VALGRIND
-size_t valgrind_strlen(const char *s)
-{
- size_t count;
- for(count = 0; *s++; count++)
- ;
- return count;
-}
-#endif