diff options
author | teor <teor@torproject.org> | 2019-12-20 13:27:58 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-12-20 13:27:58 +1000 |
commit | 8c23ac4ae713f7cce7cd7541d2ae635c50c7c062 (patch) | |
tree | 37b14c286cb74987ca9261922135bc4ac8cdd64a /src/feature/dirparse | |
parent | cd160291a755ac830855e3226e6c470a5b2ecede (diff) | |
download | tor-8c23ac4ae713f7cce7cd7541d2ae635c50c7c062.tar.gz tor-8c23ac4ae713f7cce7cd7541d2ae635c50c7c062.zip |
Replace several C identifiers.
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
EXPOSE_CLEAN_BACKTRACE BACKTRACE_PRIVATE \
TOR_CHANNEL_INTERNAL_ CHANNEL_OBJECT_PRIVATE \
CHANNEL_PRIVATE_ CHANNEL_FILE_PRIVATE \
EXPOSE_ROUTERDESC_TOKEN_TABLE ROUTERDESC_TOKEN_TABLE_PRIVATE \
SCHEDULER_PRIVATE_ SCHEDULER_PRIVATE
Diffstat (limited to 'src/feature/dirparse')
-rw-r--r-- | src/feature/dirparse/policy_parse.c | 2 | ||||
-rw-r--r-- | src/feature/dirparse/routerparse.c | 2 | ||||
-rw-r--r-- | src/feature/dirparse/routerparse.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/dirparse/policy_parse.c b/src/feature/dirparse/policy_parse.c index 7562ae409b..cad623d560 100644 --- a/src/feature/dirparse/policy_parse.c +++ b/src/feature/dirparse/policy_parse.c @@ -9,7 +9,7 @@ * \brief Code to parse address policies. **/ -#define EXPOSE_ROUTERDESC_TOKEN_TABLE +#define ROUTERDESC_TOKEN_TABLE_PRIVATE #include "core/or/or.h" diff --git a/src/feature/dirparse/routerparse.c b/src/feature/dirparse/routerparse.c index f78c46f186..d4c0a11f14 100644 --- a/src/feature/dirparse/routerparse.c +++ b/src/feature/dirparse/routerparse.c @@ -50,7 +50,7 @@ * </ul> **/ -#define EXPOSE_ROUTERDESC_TOKEN_TABLE +#define ROUTERDESC_TOKEN_TABLE_PRIVATE #include "core/or/or.h" #include "app/config/config.h" diff --git a/src/feature/dirparse/routerparse.h b/src/feature/dirparse/routerparse.h index f9a13f2168..f2e59f0f24 100644 --- a/src/feature/dirparse/routerparse.h +++ b/src/feature/dirparse/routerparse.h @@ -40,7 +40,7 @@ int find_single_ipv6_orport(const smartlist_t *list, void routerparse_init(void); void routerparse_free_all(void); -#ifdef EXPOSE_ROUTERDESC_TOKEN_TABLE +#ifdef ROUTERDESC_TOKEN_TABLE_PRIVATE extern const struct token_rule_t routerdesc_token_table[]; #endif |