aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/statefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/config/statefile.h')
-rw-r--r--src/app/config/statefile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/config/statefile.h b/src/app/config/statefile.h
index 1950078450..98d9d2dda1 100644
--- a/src/app/config/statefile.h
+++ b/src/app/config/statefile.h
@@ -1,7 +1,7 @@
/* Copyright (c) 2001 Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
- * Copyright (c) 2007-2019, The Tor Project, Inc. */
+ * Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
@@ -31,6 +31,8 @@ STATIC struct config_line_t *get_transport_in_state_by_name(
STATIC void or_state_free_(or_state_t *state);
#define or_state_free(st) FREE_AND_NULL(or_state_t, or_state_free_, (st))
STATIC or_state_t *or_state_new(void);
-#endif
+struct config_mgr_t;
+STATIC const struct config_mgr_t *get_state_mgr(void);
+#endif /* defined(STATEFILE_PRIVATE) */
#endif /* !defined(TOR_STATEFILE_H) */