ats_ril: uncommented unused function
authorFabian Oehlmann <oehlmann@in.tum.de>
Thu, 26 Sep 2013 09:49:37 +0000 (09:49 +0000)
committerFabian Oehlmann <oehlmann@in.tum.de>
Thu, 26 Sep 2013 09:49:37 +0000 (09:49 +0000)
src/ats/gnunet-service-ats-solver_ril.c

index 8be3b094031c005290d894dd153a28ec4b6c83cb..806a278b7c6a9f7760d51608703393cb19cb294d 100755 (executable)
@@ -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;
+//}