From: Adam Dickmeiss Date: Wed, 31 Jan 2007 20:25:23 +0000 (+0000) Subject: Rename function index to parse_index.. See X-Git-Tag: stable.27032007~36 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d7863ca059ca10df01b228f89870321beef841ad;p=pazpar2-moved-to-github.git Rename function index to parse_index.. See http://test.indexdata.dk/idtest/2007-01-31-20:51/pazpar2-0.1--flurry.txt --- diff --git a/src/zeerex.c b/src/zeerex.c index d2b7dc7..93f8463 100644 --- a/src/zeerex.c +++ b/src/zeerex.c @@ -1,4 +1,4 @@ -/* $Id: zeerex.c,v 1.1 2007-01-29 03:19:25 quinn Exp $ */ +/* $Id: zeerex.c,v 1.2 2007-01-31 20:25:23 adam Exp $ */ #include @@ -389,7 +389,7 @@ static struct zr_configInfo *configInfo(NMEM m, xmlNode *node) return r; } -static struct zr_index *index(NMEM m, xmlNode *node) +static struct zr_index *parse_index(NMEM m, xmlNode *node) { xmlNode *n; struct zr_index *r = nmem_malloc(m, sizeof(*r)); @@ -450,7 +450,7 @@ static struct zr_indexInfo *indexInfo(NMEM m , xmlNode *node) } else if (!strcmp(n->name, "index")) { - struct zr_index *new = index(m, n); + struct zr_index *new = parse_index(m, n); if (!new) return 0; new->next = r->indexes;