From 7435fa9a03dbc1d00a7e87bfb5a03d43c5810b93 Mon Sep 17 00:00:00 2001 From: Fabian Oehlmann Date: Thu, 26 Sep 2013 09:49:37 +0000 Subject: [PATCH] ats_ril: uncommented unused function --- src/ats/gnunet-service-ats-solver_ril.c | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/ats/gnunet-service-ats-solver_ril.c b/src/ats/gnunet-service-ats-solver_ril.c index 8be3b0940..806a278b7 100755 --- a/src/ats/gnunet-service-ats-solver_ril.c +++ b/src/ats/gnunet-service-ats-solver_ril.c @@ -765,22 +765,22 @@ ril_remove_agent (struct GAS_RIL_Handle *s, struct RIL_Peer_Agent *agent) * @param active_only whether only active agents should be counted * @return number of agents */ -static int -ril_count_agents (struct GAS_RIL_Handle *solver, int active_only) -{ - int c; - struct RIL_Peer_Agent *cur; - - c = 0; - for (cur = solver->agents_head; NULL != cur; cur = cur->next) - { - if ((!active_only) || (active_only && cur->active)) - { - c += 1; - } - } - return c; -} +//static int +//ril_count_agents (struct GAS_RIL_Handle *solver, int active_only) +//{ +// int c; +// struct RIL_Peer_Agent *cur; +// +// c = 0; +// for (cur = solver->agents_head; NULL != cur; cur = cur->next) +// { +// if ((!active_only) || (active_only && cur->active)) +// { +// c += 1; +// } +// } +// return c; +//} -- 2.25.1