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/process | |
parent | e80595f562e199049a41fdf1f3e12baced7e74d5 (diff) | |
download | tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.tar.gz tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.zip |
Rename subsystem callback functions to make them consistent
Diffstat (limited to 'src/lib/process')
-rw-r--r-- | src/lib/process/winprocess_sys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/process/winprocess_sys.c b/src/lib/process/winprocess_sys.c index e00f94c915..ef66f8bfb1 100644 --- a/src/lib/process/winprocess_sys.c +++ b/src/lib/process/winprocess_sys.c @@ -19,7 +19,7 @@ #define WINPROCESS_SYS_ENABLED true static int -init_windows_process_params(void) +subsys_winprocess_initialize(void) { #ifndef HeapEnableTerminationOnCorruption #define HeapEnableTerminationOnCorruption 1 @@ -53,12 +53,12 @@ init_windows_process_params(void) } #else /* !defined(_WIN32) */ #define WINPROCESS_SYS_ENABLED false -#define init_windows_process_params NULL +#define subsys_winprocess_initialize NULL #endif /* defined(_WIN32) */ const subsys_fns_t sys_winprocess = { .name = "winprocess", .level = -100, .supported = WINPROCESS_SYS_ENABLED, - .initialize = init_windows_process_params, + .initialize = subsys_winprocess_initialize, }; |