diff options
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/dirauth/guardfraction.h | 2 | ||||
-rw-r--r-- | src/feature/dircache/dirserv.c | 1 | ||||
-rw-r--r-- | src/feature/dircommon/voting_schedule.c | 1 | ||||
-rw-r--r-- | src/feature/hs/hs_config.c | 2 | ||||
-rw-r--r-- | src/feature/hs_common/shared_random_client.c | 1 | ||||
-rw-r--r-- | src/feature/relay/selftest.c | 2 |
6 files changed, 1 insertions, 8 deletions
diff --git a/src/feature/dirauth/guardfraction.h b/src/feature/dirauth/guardfraction.h index 9f01ded838..cae4777605 100644 --- a/src/feature/dirauth/guardfraction.h +++ b/src/feature/dirauth/guardfraction.h @@ -16,7 +16,7 @@ STATIC int dirserv_read_guardfraction_file_from_str(const char *guardfraction_file_str, smartlist_t *vote_routerstatuses); -#endif /* defined(DIRSERV_PRIVATE) */ +#endif int dirserv_read_guardfraction_file(const char *fname, smartlist_t *vote_routerstatuses); diff --git a/src/feature/dircache/dirserv.c b/src/feature/dircache/dirserv.c index 85331bfeaa..53bb9814a7 100644 --- a/src/feature/dircache/dirserv.c +++ b/src/feature/dircache/dirserv.c @@ -3,7 +3,6 @@ * Copyright (c) 2007-2019, The Tor Project, Inc. */ /* See LICENSE for licensing information */ -#define DIRSERV_PRIVATE #include "core/or/or.h" #include "app/config/config.h" diff --git a/src/feature/dircommon/voting_schedule.c b/src/feature/dircommon/voting_schedule.c index 5576ec69f7..76915f6be2 100644 --- a/src/feature/dircommon/voting_schedule.c +++ b/src/feature/dircommon/voting_schedule.c @@ -8,7 +8,6 @@ * tor. The full feature is built as part of the dirauth module. **/ -#define VOTING_SCHEDULE_PRIVATE #include "feature/dircommon/voting_schedule.h" #include "core/or/or.h" diff --git a/src/feature/hs/hs_config.c b/src/feature/hs/hs_config.c index ed577daf7d..3c302e70b3 100644 --- a/src/feature/hs/hs_config.c +++ b/src/feature/hs/hs_config.c @@ -23,8 +23,6 @@ * every option that is common to all version (config_generic_service). **/ -#define HS_CONFIG_PRIVATE - #include "feature/hs/hs_common.h" #include "feature/hs/hs_config.h" #include "feature/hs/hs_client.h" diff --git a/src/feature/hs_common/shared_random_client.c b/src/feature/hs_common/shared_random_client.c index f5328e6e10..999472a862 100644 --- a/src/feature/hs_common/shared_random_client.c +++ b/src/feature/hs_common/shared_random_client.c @@ -8,7 +8,6 @@ * as part of the dirauth module. **/ -#define SHARED_RANDOM_CLIENT_PRIVATE #include "feature/hs_common/shared_random_client.h" #include "app/config/config.h" diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c index f8b54ff45d..abc87437d1 100644 --- a/src/feature/relay/selftest.c +++ b/src/feature/relay/selftest.c @@ -12,8 +12,6 @@ * their own bandwidth, before publishing. */ -#define SELFTEST_PRIVATE - #include "core/or/or.h" #include "app/config/config.h" |