From f8c4ab611ac5b714b6b4fd296c59512f97f87195 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Mon, 24 Nov 2014 13:22:04 -0800 Subject: string_list: remove string_list_insert_at_index() from its API There no longer is a caller to this function. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- string-list.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'string-list.h') 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, -- cgit v1.2.3