From: Dennis Schafroth Date: Wed, 30 Mar 2011 14:24:38 +0000 (+0200) Subject: Shuffle function to remove warning X-Git-Tag: v1.5.6~10 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=bc12b9c2eb29736d2cb8d2bb479528b4969ff692;p=pazpar2-moved-to-github.git Shuffle function to remove warning --- diff --git a/src/session.c b/src/session.c index 8a3c0f9..75fbb17 100644 --- a/src/session.c +++ b/src/session.c @@ -760,12 +760,6 @@ void session_apply_setting(struct session *se, char *dbname, char *setting, } } -/* Depreciated: use session_destroy */ -void destroy_session(struct session *se) -{ - session_destroy(se); -} - void session_destroy(struct session *se) { struct session_database *sdb; session_log(se, YLOG_DEBUG, "Destroying"); @@ -781,9 +775,13 @@ void session_destroy(struct session *se) { service_destroy(se->service); yaz_mutex_destroy(&se->session_mutex); wrbuf_destroy(se->wrbuf); - } +/* Depreciated: use session_destroy */ +void destroy_session(struct session *se) +{ + session_destroy(se); +} size_t session_get_memory_status(struct session *session) { size_t session_nmem;