aboutsummaryrefslogtreecommitdiff
path: root/src/lib/err/torerr_sys.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-01 12:40:55 -0400
committerNick Mathewson <nickm@torproject.org>2018-11-05 09:22:02 -0500
commit175153a3290b3987faacac9d5390e87e1ad4a457 (patch)
treeffe76b1752c481a4e0b47aeb2c21adb58d38a179 /src/lib/err/torerr_sys.h
parent6e7ff8cba0efaf803e3ef5b5aba4123633fe0658 (diff)
downloadtor-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.h14
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) */