diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-01 12:40:55 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-05 09:22:02 -0500 |
commit | 175153a3290b3987faacac9d5390e87e1ad4a457 (patch) | |
tree | ffe76b1752c481a4e0b47aeb2c21adb58d38a179 /src/lib/err/torerr_sys.h | |
parent | 6e7ff8cba0efaf803e3ef5b5aba4123633fe0658 (diff) | |
download | tor-175153a3290b3987faacac9d5390e87e1ad4a457.tar.gz tor-175153a3290b3987faacac9d5390e87e1ad4a457.zip |
Make initialization for the "err" library into a subsystem.
Diffstat (limited to 'src/lib/err/torerr_sys.h')
-rw-r--r-- | src/lib/err/torerr_sys.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/err/torerr_sys.h b/src/lib/err/torerr_sys.h new file mode 100644 index 0000000000..b56270d538 --- /dev/null +++ b/src/lib/err/torerr_sys.h @@ -0,0 +1,14 @@ +/* Copyright (c) 2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +/** + * \file torerr_sys.h + * \brief Declare subsystem object for torerr.c + **/ + +#ifndef TOR_TORERR_SYS_H +#define TOR_TORERR_SYS_H + +extern const struct subsys_fns_t sys_torerr; + +#endif /* !defined(TOR_TORERR_SYS_H) */ |