diff options
author | David Goulet <dgoulet@torproject.org> | 2018-05-01 11:33:40 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-05-01 11:45:34 -0400 |
commit | 5db331e8fccd1bf365b8e300f940eb1dd85072f9 (patch) | |
tree | a85cb319fee28636bcabff7d02f55a3c0007460a /src/or/parsecommon.h | |
parent | 70c92c336661a164e3905be157aa8a16de77462a (diff) | |
download | tor-5db331e8fccd1bf365b8e300f940eb1dd85072f9.tar.gz tor-5db331e8fccd1bf365b8e300f940eb1dd85072f9.zip |
Make find_opt_by_keyword() take a const smartlist
Part of #25988
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/parsecommon.h')
-rw-r--r-- | src/or/parsecommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/parsecommon.h b/src/or/parsecommon.h index 903d94478b..d33faf8ec7 100644 --- a/src/or/parsecommon.h +++ b/src/or/parsecommon.h @@ -314,7 +314,7 @@ directory_token_t *find_by_keyword_(smartlist_t *s, #define find_by_keyword(s, keyword) \ find_by_keyword_((s), (keyword), #keyword) -directory_token_t *find_opt_by_keyword(smartlist_t *s, +directory_token_t *find_opt_by_keyword(const smartlist_t *s, directory_keyword keyword); smartlist_t * find_all_by_keyword(const smartlist_t *s, directory_keyword k); |