gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21169 - gnunet/src/integration-tests


From: gnunet
Subject: [GNUnet-SVN] r21169 - gnunet/src/integration-tests
Date: Thu, 26 Apr 2012 14:04:49 +0200

Author: grothoff
Date: 2012-04-26 14:04:49 +0200 (Thu, 26 Apr 2012)
New Revision: 21169

Modified:
   gnunet/src/integration-tests/connection_watchdog.c
Log:
-static

Modified: gnunet/src/integration-tests/connection_watchdog.c
===================================================================
--- gnunet/src/integration-tests/connection_watchdog.c  2012-04-26 11:37:50 UTC 
(rev 21168)
+++ gnunet/src/integration-tests/connection_watchdog.c  2012-04-26 12:04:49 UTC 
(rev 21169)
@@ -119,9 +119,10 @@
 struct TransportPlugin *phead;
 struct TransportPlugin *ptail;
 
-int map_check_it (void *cls,
-                  const GNUNET_HashCode * key,
-                  void *value)
+static int 
+map_check_it (void *cls,
+             const GNUNET_HashCode * key,
+             void *value)
 {
   int *fail = cls;
   struct PeerContainer *pc = value;
@@ -139,9 +140,10 @@
 }
 
 
-int map_cleanup_it (void *cls,
-                  const GNUNET_HashCode * key,
-                  void *value)
+static int 
+map_cleanup_it (void *cls,
+               const GNUNET_HashCode * key,
+               void *value)
 {
   struct PeerContainer *pc = value;
   GNUNET_assert (GNUNET_OK == GNUNET_CONTAINER_multihashmap_remove(peers, key, 
value));
@@ -276,9 +278,10 @@
   return cur;
 }
 
-int stats_check_cb (void *cls, const char *subsystem,
-                   const char *name, uint64_t value,
-                   int is_persistent)
+static int 
+stats_check_cb (void *cls, const char *subsystem,
+               const char *name, uint64_t value,
+               int is_persistent)
 {
   static int counter;
 
@@ -397,7 +400,8 @@
 GNUNET_NETWORK_STRUCT_END
 
 
-size_t send_transport_ping_cb (void *cls, size_t size, void *buf)
+static size_t 
+send_transport_ping_cb (void *cls, size_t size, void *buf)
 {
  struct PeerContainer * pc = cls;
  struct PING ping;
@@ -528,7 +532,8 @@
  return mlen;
 }
 
-size_t send_core_pong_cb (void *cls, size_t size, void *buf)
+static size_t 
+send_core_pong_cb (void *cls, size_t size, void *buf)
 {
 struct PeerContainer * pc = cls;
 struct PING ping;
@@ -769,7 +774,7 @@
   check_task = GNUNET_SCHEDULER_add_now (&map_check, &map_cleanup);
 }
 
-void
+static void
 transport_notify_connect_cb (void *cls,
                 const struct GNUNET_PeerIdentity
                 * peer,
@@ -790,7 +795,7 @@
  * @param cls closure
  * @param peer the peer that disconnected
  */
-void
+static void
 transport_notify_disconnect_cb (void *cls,
                                const struct
                                GNUNET_PeerIdentity * peer)
@@ -853,11 +858,12 @@
   }
 }
 
-int core_notify_receive_cb (void *cls,
-                                const struct GNUNET_PeerIdentity * peer,
-                                const struct GNUNET_MessageHeader * message,
-                                const struct GNUNET_ATS_Information* atsi,
-                                unsigned int atsi_count)
+static int 
+core_notify_receive_cb (void *cls,
+                       const struct GNUNET_PeerIdentity * peer,
+                       const struct GNUNET_MessageHeader * message,
+                       const struct GNUNET_ATS_Information* atsi,
+                       unsigned int atsi_count)
 {
   struct PeerContainer *pc = NULL;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]