diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-21 18:04:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-21 18:04:30 +0000 |
commit | 7ca1d626238654e5664ad8e564602d2a2159e1fc (patch) | |
tree | 1419c1e6ebed2544b7af3ea4f32ae85405df1a14 /src/ats/gnunet-service-ats_performance.c | |
parent | 0da2bcb03df3c5546c94e387e0b6805ee234be74 (diff) | |
download | gnunet-7ca1d626238654e5664ad8e564602d2a2159e1fc.tar.gz gnunet-7ca1d626238654e5664ad8e564602d2a2159e1fc.zip |
-remove useless const
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index b9d918103..a9673821a 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -153,7 +153,7 @@ GAS_performance_notify_client (struct PerformanceClient *pc, | |||
153 | const struct GNUNET_PeerIdentity *peer, | 153 | const struct GNUNET_PeerIdentity *peer, |
154 | const char *plugin_name, | 154 | const char *plugin_name, |
155 | const void *plugin_addr, size_t plugin_addr_len, | 155 | const void *plugin_addr, size_t plugin_addr_len, |
156 | const int active, | 156 | int active, |
157 | const struct GNUNET_ATS_Information *atsi, | 157 | const struct GNUNET_ATS_Information *atsi, |
158 | uint32_t atsi_count, | 158 | uint32_t atsi_count, |
159 | struct GNUNET_BANDWIDTH_Value32NBO | 159 | struct GNUNET_BANDWIDTH_Value32NBO |
@@ -216,9 +216,9 @@ GAS_performance_notify_client (struct PerformanceClient *pc, | |||
216 | */ | 216 | */ |
217 | void | 217 | void |
218 | GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, | 218 | GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, |
219 | const char *plugin_name, | 219 | const char *plugin_name, |
220 | const void *plugin_addr, size_t plugin_addr_len, | 220 | const void *plugin_addr, size_t plugin_addr_len, |
221 | const int active, | 221 | int active, |
222 | const struct GNUNET_ATS_Information *atsi, | 222 | const struct GNUNET_ATS_Information *atsi, |
223 | uint32_t atsi_count, | 223 | uint32_t atsi_count, |
224 | struct GNUNET_BANDWIDTH_Value32NBO | 224 | struct GNUNET_BANDWIDTH_Value32NBO |
@@ -226,6 +226,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, | |||
226 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) | 226 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) |
227 | { | 227 | { |
228 | struct PerformanceClient *pc; | 228 | struct PerformanceClient *pc; |
229 | |||
229 | for (pc = pc_head; pc != NULL; pc = pc->next) | 230 | for (pc = pc_head; pc != NULL; pc = pc->next) |
230 | if (pc->flag == START_FLAG_PERFORMANCE_WITH_PIC) | 231 | if (pc->flag == START_FLAG_PERFORMANCE_WITH_PIC) |
231 | { | 232 | { |