diff options
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index e3ddb4bff..af06cf1bd 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -1482,10 +1482,10 @@ send_push (const struct GNUNET_PeerIdentity *peer_id) | |||
1482 | 1482 | ||
1483 | 1483 | ||
1484 | static void | 1484 | static void |
1485 | do_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 1485 | do_round (void *cls); |
1486 | 1486 | ||
1487 | static void | 1487 | static void |
1488 | do_mal_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 1488 | do_mal_round (void *cls); |
1489 | 1489 | ||
1490 | 1490 | ||
1491 | #ifdef ENABLE_MALICIOUS | 1491 | #ifdef ENABLE_MALICIOUS |
@@ -1624,7 +1624,7 @@ handle_client_act_malicious (void *cls, | |||
1624 | * This is executed regylary. | 1624 | * This is executed regylary. |
1625 | */ | 1625 | */ |
1626 | static void | 1626 | static void |
1627 | do_mal_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 1627 | do_mal_round (void *cls) |
1628 | { | 1628 | { |
1629 | uint32_t num_pushes; | 1629 | uint32_t num_pushes; |
1630 | uint32_t i; | 1630 | uint32_t i; |
@@ -1756,7 +1756,7 @@ do_mal_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1756 | * This is executed regylary. | 1756 | * This is executed regylary. |
1757 | */ | 1757 | */ |
1758 | static void | 1758 | static void |
1759 | do_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 1759 | do_round (void *cls) |
1760 | { | 1760 | { |
1761 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Going to execute next round.\n"); | 1761 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Going to execute next round.\n"); |
1762 | 1762 | ||
@@ -2032,11 +2032,9 @@ process_peerinfo_peers (void *cls, | |||
2032 | * Task run during shutdown. | 2032 | * Task run during shutdown. |
2033 | * | 2033 | * |
2034 | * @param cls unused | 2034 | * @param cls unused |
2035 | * @param tc unused | ||
2036 | */ | 2035 | */ |
2037 | static void | 2036 | static void |
2038 | shutdown_task (void *cls, | 2037 | shutdown_task (void *cls) |
2039 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
2040 | { | 2038 | { |
2041 | 2039 | ||
2042 | LOG (GNUNET_ERROR_TYPE_DEBUG, "RPS is going down\n"); | 2040 | LOG (GNUNET_ERROR_TYPE_DEBUG, "RPS is going down\n"); |