From a0d6264b9012372cd2e898003fb4b7db86ea016e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Aug 2006 16:44:10 +0000 Subject: r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise (This used to be commit 1de34590821b0c076bf8d48cbdae97f33275647e) --- source4/lib/replace/replace.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source4/lib/replace/replace.c') diff --git a/source4/lib/replace/replace.c b/source4/lib/replace/replace.c index 1cf91751b3c..b8f4bc1c3c9 100644 --- a/source4/lib/replace/replace.c +++ b/source4/lib/replace/replace.c @@ -387,20 +387,6 @@ duplicate a string } #endif -#ifndef HAVE_STRNLEN -/** - Some platforms don't have strnlen -**/ - - size_t strnlen(const char *s, size_t n) -{ - size_t i; - for (i=0; i