summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-14 09:37:44 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-25 16:35:34 -0400
commitab6ddc7a33f7ae6611ebaa00b6bc526d9c286b41 (patch)
tree24caac682b9bd1c002f8fadccd7d856431bd91b5 /src/core
parent4bdff5e3e9d4ea11c7e8043e75d63c4f366558e8 (diff)
downloadtor-ab6ddc7a33f7ae6611ebaa00b6bc526d9c286b41.tar.gz
tor-ab6ddc7a33f7ae6611ebaa00b6bc526d9c286b41.zip
practracker: split shutdown code out of main.c
This is necessary to get the number of includes in main.c back under control. (In the future, we could just use the subsystem manager for this kind of stuff.)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/include.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/include.am b/src/core/include.am
index 3a0e907edb..7fb5c1d7a0 100644
--- a/src/core/include.am
+++ b/src/core/include.am
@@ -11,6 +11,7 @@ LIBTOR_APP_A_SOURCES = \
src/app/config/confparse.c \
src/app/config/statefile.c \
src/app/main/main.c \
+ src/app/main/shutdown.c \
src/app/main/subsystem_list.c \
src/app/main/subsysmgr.c \
src/core/crypto/hs_ntor.c \
@@ -204,6 +205,7 @@ noinst_HEADERS += \
src/app/config/statefile.h \
src/app/main/main.h \
src/app/main/ntmain.h \
+ src/app/main/shutdown.h \
src/app/main/subsysmgr.h \
src/core/crypto/hs_ntor.h \
src/core/crypto/onion_crypto.h \