summaryrefslogtreecommitdiff
path: root/src/lib/encoding/confline.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-07-03 10:27:38 -0400
committerNick Mathewson <nickm@torproject.org>2019-07-03 10:27:38 -0400
commit3e34840a77c45da3575b8a929ed8bbd7370aad63 (patch)
treea5c8037acd10ba332a6b9b2eb68c550986e97c18 /src/lib/encoding/confline.h
parentdaed2e39ada7efcd8d61a306f8a5f4e22316350f (diff)
downloadtor-3e34840a77c45da3575b8a929ed8bbd7370aad63.tar.gz
tor-3e34840a77c45da3575b8a929ed8bbd7370aad63.zip
Make config_lines_eq() take const arguments.
Diffstat (limited to 'src/lib/encoding/confline.h')
-rw-r--r--src/lib/encoding/confline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/encoding/confline.h b/src/lib/encoding/confline.h
index 56ea36bf61..12c554c6e7 100644
--- a/src/lib/encoding/confline.h
+++ b/src/lib/encoding/confline.h
@@ -50,7 +50,7 @@ const config_line_t *config_line_find(const config_line_t *lines,
const char *key);
const config_line_t *config_line_find_case(const config_line_t *lines,
const char *key);
-int config_lines_eq(config_line_t *a, config_line_t *b);
+int config_lines_eq(const config_line_t *a, const config_line_t *b);
int config_count_key(const config_line_t *a, const char *key);
void config_free_lines_(config_line_t *front);
#define config_free_lines(front) \