summaryrefslogtreecommitdiff
path: root/string-list.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2014-11-24 13:22:04 -0800
committerJunio C Hamano <gitster@pobox.com>2014-12-04 15:10:27 -0800
commitf8c4ab611ac5b714b6b4fd296c59512f97f87195 (patch)
treef0b8f9b8912a14ddece5ad5dd19a1ae619c165c1 /string-list.h
parent63226218ba39e971c8a75d9419a7668b075ad85e (diff)
downloadgit-f8c4ab611ac5b714b6b4fd296c59512f97f87195.tar.gz
string_list: remove string_list_insert_at_index() from its APIsb/string-list
There no longer is a caller to this function. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'string-list.h')
-rw-r--r--string-list.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/string-list.h b/string-list.h
index 40ffe0c703..ee9b100970 100644
--- a/string-list.h
+++ b/string-list.h
@@ -61,8 +61,6 @@ int string_list_find_insert_index(const struct string_list *list, const char *st
* Returns the string_list_item, the string is part of.
*/
struct string_list_item *string_list_insert(struct string_list *list, const char *string);
-struct string_list_item *string_list_insert_at_index(struct string_list *list,
- int insert_at, const char *string);
/*
* Checks if the given string is part of a sorted list. If it is part of the list,