summaryrefslogtreecommitdiff
path: root/src/lib/time/time_sys.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-09 11:12:12 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-09 11:12:12 -0500
commitc6336727cac937b4b5ca38c9b49ed3a66ce0b579 (patch)
tree8735c6509412adbb1e8a2909cd95577e78b18074 /src/lib/time/time_sys.c
parente80595f562e199049a41fdf1f3e12baced7e74d5 (diff)
downloadtor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.tar.gz
tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.zip
Rename subsystem callback functions to make them consistent
Diffstat (limited to 'src/lib/time/time_sys.c')
-rw-r--r--src/lib/time/time_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/time/time_sys.c b/src/lib/time/time_sys.c
index 2303874f29..b29ca35e69 100644
--- a/src/lib/time/time_sys.c
+++ b/src/lib/time/time_sys.c
@@ -12,7 +12,7 @@
#include "lib/time/compat_time.h"
static int
-init_time_sys(void)
+subsys_time_initialize(void)
{
monotime_init();
return 0;
@@ -22,5 +22,5 @@ const subsys_fns_t sys_time = {
.name = "time",
.level = -90,
.supported = true,
- .initialize = init_time_sys,
+ .initialize = subsys_time_initialize,
};