summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-03-11 07:25:48 +0000
committerMartin Pool <mbp@samba.org>2003-03-11 07:25:48 +0000
commit2e01ef5957bcdecb057d94122529b7cbd7f40ec2 (patch)
tree8690b312e9991d5ed9841bb6bb8b406a6d5758d4 /source3/lib
parent6f7ac2dcab02a0babf4c18e6fe1d1697943bddfc (diff)
downloadsamba-2e01ef5957bcdecb057d94122529b7cbd7f40ec2.tar.gz
samba-2e01ef5957bcdecb057d94122529b7cbd7f40ec2.tar.bz2
samba-2e01ef5957bcdecb057d94122529b7cbd7f40ec2.zip
Remove valgrind_strlen function, hopefully no longer needed with
recent Valgrind relases and clashing with -DVALGRIND. (This used to be commit 98479f1315cf8968152e1566966ac57e171008c3)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 924cf9d921..7dd5ee4242 100644
--- 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