commit f803c1bb1761915ca57a4d8c65b2fed79f2a8886 Author: Nick Mathewson nickm@torproject.org Date: Fri Oct 27 11:51:42 2017 -0400
declare shutdown_did_not_work_callback() with ATTR_NORETURN --- src/or/main.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/or/main.c b/src/or/main.c index bb5935690..b9d261e09 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -143,6 +143,8 @@ static void connection_start_reading_from_linked_conn(connection_t *conn); static int connection_should_read_from_linked_conn(connection_t *conn); static int run_main_loop_until_done(void); static void process_signal(int sig); +static void shutdown_did_not_work_callback(evutil_socket_t fd, short event, + void *arg) ATTR_NORETURN;
/********* START VARIABLES **********/ int global_read_bucket; /**< Max number of bytes I can read this second. */
tor-commits@lists.torproject.org