aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-09-05 16:54:40 +0000
committerBart Polot <bart@net.in.tum.de>2014-09-05 16:54:40 +0000
commit487a633dbbf9b26971d0985ec57f0717da79a4d8 (patch)
treee4ece2e48f643bfb13b3dd6bcce945af7d49cce1 /src/cadet
parent48d736c71c976752cac645c4fa11f19da9e023cf (diff)
downloadgnunet-487a633dbbf9b26971d0985ec57f0717da79a4d8.tar.gz
gnunet-487a633dbbf9b26971d0985ec57f0717da79a4d8.zip
- remove dead code
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/gnunet-service-cadet_tunnel.c13
-rw-r--r--src/cadet/gnunet-service-cadet_tunnel.h9
2 files changed, 0 insertions, 22 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c
index 3bff3ca48..48f8ee09f 100644
--- a/src/cadet/gnunet-service-cadet_tunnel.c
+++ b/src/cadet/gnunet-service-cadet_tunnel.c
@@ -2362,19 +2362,6 @@ GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c)
2362 2362
2363 2363
2364/** 2364/**
2365 * Mark a path as no longer valid for this tunnel: has been tried and failed.
2366 *
2367 * @param t Tunnel to update.
2368 * @param path Invalid path to remove. Is destroyed after removal.
2369 */
2370void
2371GCT_remove_path (struct CadetTunnel *t, struct CadetPeerPath *path)
2372{
2373 GCP_remove_path (t->peer, path);
2374}
2375
2376
2377/**
2378 * Remove a connection from a tunnel. 2365 * Remove a connection from a tunnel.
2379 * 2366 *
2380 * @param t Tunnel. 2367 * @param t Tunnel.
diff --git a/src/cadet/gnunet-service-cadet_tunnel.h b/src/cadet/gnunet-service-cadet_tunnel.h
index 382fcdf33..7466546ba 100644
--- a/src/cadet/gnunet-service-cadet_tunnel.h
+++ b/src/cadet/gnunet-service-cadet_tunnel.h
@@ -230,15 +230,6 @@ void
230GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c); 230GCT_add_connection (struct CadetTunnel *t, struct CadetConnection *c);
231 231
232/** 232/**
233 * Mark a path as no longer valid for this tunnel: has been tried and failed.
234 *
235 * @param t Tunnel to update.
236 * @param path Invalid path to remove. Is destroyed after removal.
237 */
238void
239GCT_remove_path (struct CadetTunnel *t, struct CadetPeerPath *path);
240
241/**
242 * Remove a connection from a tunnel. 233 * Remove a connection from a tunnel.
243 * 234 *
244 * @param t Tunnel. 235 * @param t Tunnel.