diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-10-27 11:51:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-27 11:51:42 -0400 |
commit | f803c1bb1761915ca57a4d8c65b2fed79f2a8886 (patch) | |
tree | 317fba24d6058fb3582ed4444bd79efdde9964fc | |
parent | 79e7c0af0e4bd9a813ddd9226b43cc49112edd19 (diff) | |
download | tor-f803c1bb1761915ca57a4d8c65b2fed79f2a8886.tar.gz tor-f803c1bb1761915ca57a4d8c65b2fed79f2a8886.zip |
declare shutdown_did_not_work_callback() with ATTR_NORETURN
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index bb59356901..b9d261e098 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. */ |