From 8907554cf3e4e87515fecde40ae2088fdded523f Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Fri, 13 Dec 2013 06:13:05 -0800 Subject: Make channel_note_destroy_not_pending() mockable --- src/or/circuitlist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/circuitlist.h') diff --git a/src/or/circuitlist.h b/src/or/circuitlist.h index 03934f971e..a8d746be53 100644 --- a/src/or/circuitlist.h +++ b/src/or/circuitlist.h @@ -72,7 +72,8 @@ void circuit_free_all(void); void circuits_handle_oom(size_t current_allocation); void channel_note_destroy_pending(channel_t *chan, circid_t id); -void channel_note_destroy_not_pending(channel_t *chan, circid_t id); +MOCK_DECL(void, channel_note_destroy_not_pending, + (channel_t *chan, circid_t id)); #ifdef CIRCUITLIST_PRIVATE STATIC void circuit_free(circuit_t *circ); -- cgit v1.2.3-54-g00ecf