aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-07 09:01:53 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-07 09:01:53 +0000
commit91f7d85580d5f763f276e8d43bc40e958685c640 (patch)
tree8a8aefc1f913b2e5c88311cd9b361241e28797ab /src/transport/transport-testing.c
parent41782f780885e665071a8cf0d4d3e89a4509e398 (diff)
downloadgnunet-91f7d85580d5f763f276e8d43bc40e958685c640.tar.gz
gnunet-91f7d85580d5f763f276e8d43bc40e958685c640.zip
fixing compile errors
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c
index c4c96bb4f..24cf8a829 100644
--- a/src/transport/transport-testing.c
+++ b/src/transport/transport-testing.c
@@ -94,7 +94,7 @@ try_connect (void *cls,
94 cc); 94 cc);
95} 95}
96 96
97static struct PeerContext * 97struct PeerContext *
98GNUNET_TRANSPORT_TESTING_start_peer (const char * cfgname) 98GNUNET_TRANSPORT_TESTING_start_peer (const char * cfgname)
99{ 99{
100 struct PeerContext * p = GNUNET_malloc (sizeof (struct PeerContext)); 100 struct PeerContext * p = GNUNET_malloc (sizeof (struct PeerContext));
@@ -112,7 +112,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (const char * cfgname)
112 return p; 112 return p;
113} 113}
114 114
115static void 115void
116GNUNET_TRANSPORT_TESTING_stop_peer (struct PeerContext * p) 116GNUNET_TRANSPORT_TESTING_stop_peer (struct PeerContext * p)
117{ 117{
118 if (NULL != p->arm_proc) 118 if (NULL != p->arm_proc)
@@ -131,7 +131,7 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct PeerContext * p)
131 } 131 }
132} 132}
133 133
134static void 134void
135GNUNET_TRANSPORT_TESTING_connect_peers (struct PeerContext * p1, 135GNUNET_TRANSPORT_TESTING_connect_peers (struct PeerContext * p1,
136 struct PeerContext * p2, 136 struct PeerContext * p2,
137 GNUNET_TRANSPORT_TESTING_connect_cb * cb, 137 GNUNET_TRANSPORT_TESTING_connect_cb * cb,