From e49f1df8421210cfcc285bdfd7d9bb89e5c8fea0 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 18 Jun 2013 06:47:23 +0000 Subject: [PATCH] changes --- src/ats/gnunet-service-ats-solver_proportional.c | 1 - src/ats/gnunet-service-ats-solver_proportional.h | 1 - src/ats/gnunet-service-ats_addresses.c | 4 ++-- src/ats/gnunet-service-ats_addresses.h | 1 - src/ats/gnunet-service-ats_addresses_mlp.c | 1 - src/ats/gnunet-service-ats_addresses_mlp.h | 1 - 6 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/ats/gnunet-service-ats-solver_proportional.c b/src/ats/gnunet-service-ats-solver_proportional.c index 1590493c4..56603d12c 100644 --- a/src/ats/gnunet-service-ats-solver_proportional.c +++ b/src/ats/gnunet-service-ats-solver_proportional.c @@ -855,7 +855,6 @@ GAS_proportional_address_change_preference (void *solver, void *client, const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind kind, - float score_abs, double pref_rel) { struct GAS_PROPORTIONAL_Handle *s = solver; diff --git a/src/ats/gnunet-service-ats-solver_proportional.h b/src/ats/gnunet-service-ats-solver_proportional.h index 6212fbebd..3a7a8ec5b 100644 --- a/src/ats/gnunet-service-ats-solver_proportional.h +++ b/src/ats/gnunet-service-ats-solver_proportional.h @@ -49,7 +49,6 @@ GAS_proportional_address_change_preference (void *solver, void *client, const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind kind, - float score_abs, double pref_rel); diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 1e930c466..bb0c63555 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c @@ -359,7 +359,7 @@ struct GAS_Addresses_Handle GAS_solver_address_delete s_del; /** - * Change preference for quality in solver + * Change relative preference for quality in solver */ GAS_solver_address_change_preference s_pref; @@ -1340,7 +1340,7 @@ GAS_addresses_change_preference (struct GAS_Addresses_Handle *handle, } pref_rel = GAS_normalization_change_preference (client, peer, kind, score_abs); /* Tell solver about update */ - handle->s_pref (handle->solver, client, peer, kind, score_abs, pref_rel); + handle->s_pref (handle->solver, client, peer, kind, pref_rel); } diff --git a/src/ats/gnunet-service-ats_addresses.h b/src/ats/gnunet-service-ats_addresses.h index 675c4f83d..4048dc1c2 100644 --- a/src/ats/gnunet-service-ats_addresses.h +++ b/src/ats/gnunet-service-ats_addresses.h @@ -407,7 +407,6 @@ typedef void void *client, const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind kind, - float score_abs, double pref_rel); /** diff --git a/src/ats/gnunet-service-ats_addresses_mlp.c b/src/ats/gnunet-service-ats_addresses_mlp.c index 8f0a1d889..e667eda7e 100644 --- a/src/ats/gnunet-service-ats_addresses_mlp.c +++ b/src/ats/gnunet-service-ats_addresses_mlp.c @@ -1524,7 +1524,6 @@ GAS_mlp_address_change_preference (void *solver, void *client, const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind kind, - float score_abs, double pref_rel) { //struct GAS_MLP_Handle *mlp = solver; diff --git a/src/ats/gnunet-service-ats_addresses_mlp.h b/src/ats/gnunet-service-ats_addresses_mlp.h index 3a50a40be..d671c368b 100644 --- a/src/ats/gnunet-service-ats_addresses_mlp.h +++ b/src/ats/gnunet-service-ats_addresses_mlp.h @@ -439,7 +439,6 @@ GAS_mlp_address_change_preference (void *solver, void *client, const struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind kind, - float score_abs, double pref_rel); -- 2.25.1