summaryrefslogtreecommitdiff
path: root/string-list.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-09-11 18:48:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-11 19:27:58 (GMT)
commit0597dd62ba428dd02b2bf280ede4cdb0b2e318c0 (patch)
tree8554474cee6d340f600e2e88407cc92f1066fe8d /string-list.h
parent53f9a3e157dbbc901a02ac2c73346d375e24978c (diff)
downloadgit-0597dd62ba428dd02b2bf280ede4cdb0b2e318c0.zip
git-0597dd62ba428dd02b2bf280ede4cdb0b2e318c0.tar.gz
git-0597dd62ba428dd02b2bf280ede4cdb0b2e318c0.tar.bz2
string-list: remove unused function print_string_list
A removal of this helper function was proposed 3 years ago [1]; the function was never used since it was introduced in 2006 back then, and there is no new callers since. Now time has proven we really do not need the function. [1] https://public-inbox.org/git/1421343725-3973-1-git-send-email-kuleshovmail@gmail.com/ 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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/string-list.h b/string-list.h
index ff8f609..18c718c 100644
--- a/string-list.h
+++ b/string-list.h
@@ -114,14 +114,6 @@ void filter_string_list(struct string_list *list, int free_util,
string_list_each_func_t want, void *cb_data);
/**
- * Dump a string_list to stdout, useful mainly for debugging
- * purposes. It can take an optional header argument and it writes out
- * the string-pointer pairs of the string_list, each one in its own
- * line.
- */
-void print_string_list(const struct string_list *p, const char *text);
-
-/**
* Free a string_list. The `string` pointer of the items will be freed
* in case the `strdup_strings` member of the string_list is set. The
* second parameter controls if the `util` pointer of the items should