From 26617d1d641898dad9766b3466c9b7b85697d50e Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 11 Feb 2018 21:32:38 +1030 Subject: [PATCH] gossipd/test: update mocks. Signed-off-by: Rusty Russell --- gossipd/test/run-bench-find_route.c | 6 ------ gossipd/test/run-find_route-specific.c | 6 ------ gossipd/test/run-find_route.c | 6 ------ 3 files changed, 18 deletions(-) diff --git a/gossipd/test/run-bench-find_route.c b/gossipd/test/run-bench-find_route.c index 6c0999a39..a474b7c94 100644 --- a/gossipd/test/run-bench-find_route.c +++ b/gossipd/test/run-bench-find_route.c @@ -76,12 +76,6 @@ bool fromwire_wireaddr(const u8 **cursor UNNEEDED, size_t *max UNNEEDED, struct /* Generated stub for onion_type_name */ const char *onion_type_name(int e UNNEEDED) { fprintf(stderr, "onion_type_name called!\n"); abort(); } -/* Generated stub for queue_broadcast */ -bool queue_broadcast(struct broadcast_state *bstate UNNEEDED, - const int type UNNEEDED, - const u8 *tag UNNEEDED, - const u8 *payload UNNEEDED) -{ fprintf(stderr, "queue_broadcast called!\n"); abort(); } /* Generated stub for replace_broadcast */ bool replace_broadcast(struct broadcast_state *bstate UNNEEDED, u64 *index UNNEEDED, diff --git a/gossipd/test/run-find_route-specific.c b/gossipd/test/run-find_route-specific.c index accc20f8f..884f568a8 100644 --- a/gossipd/test/run-find_route-specific.c +++ b/gossipd/test/run-find_route-specific.c @@ -40,12 +40,6 @@ bool fromwire_wireaddr(const u8 **cursor UNNEEDED, size_t *max UNNEEDED, struct /* Generated stub for onion_type_name */ const char *onion_type_name(int e UNNEEDED) { fprintf(stderr, "onion_type_name called!\n"); abort(); } -/* Generated stub for queue_broadcast */ -bool queue_broadcast(struct broadcast_state *bstate UNNEEDED, - const int type UNNEEDED, - const u8 *tag UNNEEDED, - const u8 *payload UNNEEDED) -{ fprintf(stderr, "queue_broadcast called!\n"); abort(); } /* Generated stub for replace_broadcast */ bool replace_broadcast(struct broadcast_state *bstate UNNEEDED, u64 *index UNNEEDED, diff --git a/gossipd/test/run-find_route.c b/gossipd/test/run-find_route.c index f6f60e473..86c6c613c 100644 --- a/gossipd/test/run-find_route.c +++ b/gossipd/test/run-find_route.c @@ -38,12 +38,6 @@ bool fromwire_wireaddr(const u8 **cursor UNNEEDED, size_t *max UNNEEDED, struct /* Generated stub for onion_type_name */ const char *onion_type_name(int e UNNEEDED) { fprintf(stderr, "onion_type_name called!\n"); abort(); } -/* Generated stub for queue_broadcast */ -bool queue_broadcast(struct broadcast_state *bstate UNNEEDED, - const int type UNNEEDED, - const u8 *tag UNNEEDED, - const u8 *payload UNNEEDED) -{ fprintf(stderr, "queue_broadcast called!\n"); abort(); } /* Generated stub for replace_broadcast */ bool replace_broadcast(struct broadcast_state *bstate UNNEEDED, u64 *index UNNEEDED,