summaryrefslogtreecommitdiff
path: root/string-list.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-06 13:40:13 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-06 13:40:13 -0700
commit7ca97f5222f43bf9ad4a7bb45505da4e15eac4be (patch)
tree646dac2875f2ddfcf0aa4925efa86640ac4ad9f2 /string-list.h
parent870de59af079cca5a7d99397f2fc02ab7143d491 (diff)
parentabf897bacd2d36b9dbd07c70b4a2f97a084704ee (diff)
Merge branch 'ab/retire-string-list-init'
Code cleanup. * ab/retire-string-list-init: string-list.[ch]: remove string_list_init() compatibility function
Diffstat (limited to 'string-list.h')
-rw-r--r--string-list.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/string-list.h b/string-list.h
index 0d6b469239..267d6e5769 100644
--- a/string-list.h
+++ b/string-list.h
@@ -104,11 +104,6 @@ struct string_list {
void string_list_init_nodup(struct string_list *list);
void string_list_init_dup(struct string_list *list);
-/**
- * TODO remove: For compatibility with any in-flight older API users
- */
-void string_list_init(struct string_list *list, int strdup_strings);
-
/** Callback function type for for_each_string_list */
typedef int (*string_list_each_func_t)(struct string_list_item *, void *);