From: Mike Taylor Date: Wed, 24 Aug 2011 13:34:51 +0000 (+0100) Subject: static prox_unit_name() renamed to yaz_prox_unit_name(), made external. X-Git-Tag: v4.2.10~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=8532ec227a5c21c4a5d63bf81a40ddf47fef9d5d;p=yaz-moved-to-github.git static prox_unit_name() renamed to yaz_prox_unit_name(), made external. --- diff --git a/src/logrpn.c b/src/logrpn.c index 56dc01a..e6a2257 100644 --- a/src/logrpn.c +++ b/src/logrpn.c @@ -249,7 +249,7 @@ static char *complex_op_name(Z_Operator *op) } } -static char *prox_unit_name(Z_ProximityOperator *op) +char *yaz_prox_unit_name(Z_ProximityOperator *op) { if (op->which!=Z_ProximityOperator_known) return "private"; @@ -292,7 +292,7 @@ static void zlog_structure(Z_RPNStructure *zs, int depth, *op->u.prox->distance, *op->u.prox->ordered ? "T" : "F", relToStr(*op->u.prox->relationType), - prox_unit_name(op->u.prox) ); + yaz_prox_unit_name(op->u.prox) ); break; default: yaz_log(loglevel, "%*.0s unknown complex", depth, "");