Verify that GCD(m,n) != 1 when n is an RSA modulus
[oweals/gnunet.git] / src / core / core_api.c
index 762c81ffa7accdc11f4a70f0b4a82563dcbba50c..7b423b6a0ec38389cecbc6a5134215018c4ecd1c 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2009-2014 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2009-2014 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -339,8 +339,7 @@ reconnect (struct GNUNET_CORE_Handle *h);
  * @param tc task context
  */
 static void
-reconnect_task (void *cls,
-                const struct GNUNET_SCHEDULER_TaskContext *tc)
+reconnect_task (void *cls)
 {
   struct GNUNET_CORE_Handle *h = cls;
 
@@ -1214,11 +1213,9 @@ GNUNET_CORE_disconnect (struct GNUNET_CORE_Handle *handle)
  * Task that calls #request_next_transmission().
  *
  * @param cls the `struct PeerRecord *`
- * @param tc scheduler context
  */
 static void
-run_request_next_transmission (void *cls,
-                               const struct GNUNET_SCHEDULER_TaskContext *tc)
+run_request_next_transmission (void *cls)
 {
   struct PeerRecord *pr = cls;