From 132a4c69f5c50b8437acb8edf015c751169897be Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 2 Jun 2015 15:41:16 +0200 Subject: [PATCH] Prototype client_get_suggestions_xml in header --- src/client.c | 3 +-- src/client.h | 2 ++ src/session.c | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/client.c b/src/client.c index e5d3e4c..63be8d4 100644 --- a/src/client.c +++ b/src/client.c @@ -1742,7 +1742,7 @@ int client_get_diagnostic(struct client *cl, const char **message, return cl->diagnostic; } -const char * client_get_suggestions_xml(struct client *cl, WRBUF wrbuf) +const char *client_get_suggestions_xml(struct client *cl, WRBUF wrbuf) { /* int idx; */ struct suggestions *suggestions = cl->suggestions; @@ -1771,7 +1771,6 @@ const char * client_get_suggestions_xml(struct client *cl, WRBUF wrbuf) return wrbuf_cstr(wrbuf); } - void client_set_database(struct client *cl, struct session_database *db) { cl->database = db; diff --git a/src/client.h b/src/client.h index e124ac4..8b427a7 100644 --- a/src/client.h +++ b/src/client.h @@ -110,6 +110,8 @@ const char *client_get_facet_limit_local(struct client *cl, int *l, NMEM nmem, int *num, char ***values); +const char *client_get_suggestions_xml(struct client *cl, WRBUF wrbuf); + void client_update_show_stat(struct client *cl, int cmd); void client_store_xdoc(struct client *cl, int record_no, xmlDoc *xdoc); diff --git a/src/session.c b/src/session.c index 3dcf40f..a94dc9f 100644 --- a/src/session.c +++ b/src/session.c @@ -1049,8 +1049,6 @@ struct session *new_session(NMEM nmem, struct conf_service *service, return session; } -const char * client_get_suggestions_xml(struct client *cl, WRBUF wrbuf); - static struct hitsbytarget *hitsbytarget_nb(struct session *se, int *count, NMEM nmem) { -- 1.7.10.4