From 5a07fb96f2a4072bd9ee31a887ac0c790fdaf6c4 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Thu, 23 Jan 2014 20:54:50 -0800 Subject: Make tor_libevent_get_base() mockable --- src/common/compat_libevent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/compat_libevent.h') diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h index 9ee7b49cfb..45d007f9b8 100644 --- a/src/common/compat_libevent.h +++ b/src/common/compat_libevent.h @@ -72,7 +72,7 @@ typedef struct tor_libevent_cfg { } tor_libevent_cfg; void tor_libevent_initialize(tor_libevent_cfg *cfg); -struct event_base *tor_libevent_get_base(void); +MOCK_DECL(struct event_base *, tor_libevent_get_base, (void)); const char *tor_libevent_get_method(void); void tor_check_libevent_version(const char *m, int server, const char **badness_out); -- cgit v1.2.3-54-g00ecf