diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-09 11:12:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-09 11:12:12 -0500 |
commit | c6336727cac937b4b5ca38c9b49ed3a66ce0b579 (patch) | |
tree | 8735c6509412adbb1e8a2909cd95577e78b18074 /src/lib/log | |
parent | e80595f562e199049a41fdf1f3e12baced7e74d5 (diff) | |
download | tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.tar.gz tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.zip |
Rename subsystem callback functions to make them consistent
Diffstat (limited to 'src/lib/log')
-rw-r--r-- | src/lib/log/log_sys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/log/log_sys.c b/src/lib/log/log_sys.c index 94ec97fdc1..e20f3156ca 100644 --- a/src/lib/log/log_sys.c +++ b/src/lib/log/log_sys.c @@ -13,14 +13,14 @@ #include "lib/log/log_sys.h" static int -init_logging_subsys(void) +subsys_logging_initialize(void) { init_logging(0); return 0; } static void -shutdown_logging_subsys(void) +subsys_logging_shutdown(void) { logs_free_all(); escaped(NULL); @@ -30,6 +30,6 @@ const subsys_fns_t sys_logging = { .name = "log", .supported = true, .level = -90, - .initialize = init_logging_subsys, - .shutdown = shutdown_logging_subsys, + .initialize = subsys_logging_initialize, + .shutdown = subsys_logging_shutdown, }; |