From 4f8b4a8ef19da2bcbeea1ae79e9ebbdb8de08169 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 26 Nov 2006 04:39:17 +0000 Subject: r19906: ldb_attr_cmp is used a lot remove unneded overhead of a function call (This used to be commit 3ca25867621af049c6cc52e919fa46dd26c31918) --- source4/lib/ldb/common/ldb_utf8.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source4/lib/ldb/common') diff --git a/source4/lib/ldb/common/ldb_utf8.c b/source4/lib/ldb/common/ldb_utf8.c index 86ed40535a..99043ae2af 100644 --- a/source4/lib/ldb/common/ldb_utf8.c +++ b/source4/lib/ldb/common/ldb_utf8.c @@ -111,17 +111,6 @@ int ldb_valid_attr_name(const char *s) return 1; } -/* - compare two attribute names - attribute names are restricted by rfc2251 so using - strcasecmp and toupper here is ok. - return 0 for match -*/ -int ldb_attr_cmp(const char *attr1, const char *attr2) -{ - return strcasecmp(attr1, attr2); -} - char *ldb_attr_casefold(void *mem_ctx, const char *s) { int i; -- cgit