From 84d4e1ca8708ecd3cf980033f82a703eb3a92da0 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 7 Oct 2009 14:56:39 +0200 Subject: [PATCH] record_to_xml, normalize_record static --- src/logic.c | 7 ++++--- src/pazpar2.h | 4 ---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/logic.c b/src/logic.c index 2b9fbd5..68ee9c5 100644 --- a/src/logic.c +++ b/src/logic.c @@ -153,7 +153,7 @@ static void add_facet(struct session *s, const char *type, const char *value) termlist_insert(s->termlists[i].termlist, value); } -xmlDoc *record_to_xml(struct session_database *sdb, const char *rec) +static xmlDoc *record_to_xml(struct session_database *sdb, const char *rec) { struct database *db = sdb->database; xmlDoc *rdoc = 0; @@ -240,8 +240,9 @@ static void insert_settings_values(struct session_database *sdb, xmlDoc *doc, } } -xmlDoc *normalize_record(struct session_database *sdb, struct session *se, - const char *rec) +static xmlDoc *normalize_record(struct session_database *sdb, + struct session *se, + const char *rec) { xmlDoc *rdoc = record_to_xml(sdb, rec); diff --git a/src/pazpar2.h b/src/pazpar2.h index f599f2d..e70101c 100644 --- a/src/pazpar2.h +++ b/src/pazpar2.h @@ -180,10 +180,6 @@ void pazpar2_event_loop(void); int host_getaddrinfo(struct host *host); -xmlDoc *normalize_record(struct session_database *sdb, struct session *se, - const char *rec); -xmlDoc *record_to_xml(struct session_database *sdb, const char *rec); - struct record *ingest_record(struct client *cl, const char *rec, int record_no); void session_alert_watch(struct session *s, int what); -- 1.7.10.4