tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f803c1bb1761915ca57a4d8c65b2fed79f2a8886
parent 79e7c0af0e4bd9a813ddd9226b43cc49112edd19
Author: Nick Mathewson <nickm@torproject.org>
Date:   Fri, 27 Oct 2017 11:51:42 -0400

declare shutdown_did_not_work_callback() with ATTR_NORETURN

Diffstat:
Msrc/or/main.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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. */