From 2e01ef5957bcdecb057d94122529b7cbd7f40ec2 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 11 Mar 2003 07:25:48 +0000 Subject: Remove valgrind_strlen function, hopefully no longer needed with recent Valgrind relases and clashing with -DVALGRIND. (This used to be commit 98479f1315cf8968152e1566966ac57e171008c3) --- source3/tdb/tdbbackup.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source3/tdb') 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 -- cgit