diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-07-03 10:21:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-07-03 10:21:49 -0400 |
commit | daed2e39ada7efcd8d61a306f8a5f4e22316350f (patch) | |
tree | f8a00937b94df2ab039018f0f8ce6623171cd050 /src/lib/encoding/confline.h | |
parent | e3ccf37e2545adf42e9b5975b51fbb4b46d91da4 (diff) | |
download | tor-daed2e39ada7efcd8d61a306f8a5f4e22316350f.tar.gz tor-daed2e39ada7efcd8d61a306f8a5f4e22316350f.zip |
Revert "Add a function to append an existing line to a config line list."
This reverts commit 5a2ab886baaa125fe715acca8f7daf35031855aa.
Diffstat (limited to 'src/lib/encoding/confline.h')
-rw-r--r-- | src/lib/encoding/confline.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/encoding/confline.h b/src/lib/encoding/confline.h index 7d0b9ce5fc..56ea36bf61 100644 --- a/src/lib/encoding/confline.h +++ b/src/lib/encoding/confline.h @@ -41,7 +41,6 @@ typedef struct config_line_t { void config_line_append(config_line_t **lst, const char *key, const char *val); -void config_line_append_line(config_line_t **lst, config_line_t *newline); void config_line_prepend(config_line_t **lst, const char *key, const char *val); config_line_t *config_lines_dup(const config_line_t *inp); @@ -51,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(const config_line_t *a, const config_line_t *b); +int config_lines_eq(config_line_t *a, 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) \ |