summaryrefslogtreecommitdiff
path: root/string-list.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-09-24 10:30:50 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-24 10:30:50 -0700
commitf8649f8cfc81f9c8b00e32bffc89c3e30cb2a3c0 (patch)
tree1f4b17a92fe4588144f9c2de306827133957386c /string-list.h
parentMerge branch 'jk/dev-build-format-security' (diff)
parentstring-list: remove unused function print_string_list (diff)
downloadtgif-f8649f8cfc81f9c8b00e32bffc89c3e30cb2a3c0.tar.xz
Merge branch 'sb/string-list-remove-unused'
Code clean-up. * sb/string-list-remove-unused: string-list: remove unused function print_string_list
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 ff8f6094a3..18c718c12c 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