aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/transport_config.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-31 00:18:22 +1000
committerteor <teor@torproject.org>2019-11-04 13:10:00 +1000
commit85e50954d85e0372d2f4e854e651817389b4ece9 (patch)
treec777bbe55212b3231b79afb9a720703cd09c3070 /src/feature/relay/transport_config.c
parentfd18d512706cbaef2d9f10071fb684c64c3db781 (diff)
downloadtor-85e50954d85e0372d2f4e854e651817389b4ece9.tar.gz
tor-85e50954d85e0372d2f4e854e651817389b4ece9.zip
relay: Make a transport_config function private
Part of 32213.
Diffstat (limited to 'src/feature/relay/transport_config.c')
-rw-r--r--src/feature/relay/transport_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/relay/transport_config.c b/src/feature/relay/transport_config.c
index 4ce00ec6c1..4a2eb0d320 100644
--- a/src/feature/relay/transport_config.c
+++ b/src/feature/relay/transport_config.c
@@ -11,6 +11,7 @@
**/
#include "orconfig.h"
+#define RELAY_TRANSPORT_CONFIG_PRIVATE
#include "feature/relay/transport_config.h"
#include "lib/encoding/confline.h"
@@ -111,7 +112,7 @@ get_transport_bindaddr_from_config(const char *transport)
*
* The returned smartlist and its strings are allocated on the heap
* and it's the responsibility of the caller to free it. */
-smartlist_t *
+STATIC smartlist_t *
get_options_from_transport_options_line(const char *line,const char *transport)
{
smartlist_t *items = smartlist_new();