summaryrefslogtreecommitdiff
path: root/source3/tdb
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/tdb
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/tdb')
-rw-r--r--source3/tdb/tdbbackup.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/tdb/tdbbackup.c b/source3/tdb/tdbbackup.c
index 7b344de6c4..36ba7db918 100644
--- a/source3/tdb/tdbbackup.c
+++ b/source3/tdb/tdbbackup.c
@@ -303,13 +303,3 @@ static void usage(void)
return ret;
}
-
-#ifdef VALGRIND
-size_t valgrind_strlen(const char *s)
-{
- size_t count;
- for(count = 0; *s++; count++)
- ;
- return count;
-}
-#endif