From cb944f6b5009e4788041a5194d73b92a0620c9d9 Mon Sep 17 00:00:00 2001 From: Julian Phillips Date: Sat, 26 Jun 2010 00:41:33 +0100 Subject: string_list: Fix argument order for print_string_list Update the definition and callers of print_string_list to use the string_list as the first argument. This helps make the API easier to use by being more consistent. Signed-off-by: Julian Phillips Signed-off-by: Junio C Hamano --- string-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string-list.h') diff --git a/string-list.h b/string-list.h index 63b69c8d75..de29dcd96e 100644 --- a/string-list.h +++ b/string-list.h @@ -12,7 +12,7 @@ struct string_list unsigned int strdup_strings:1; }; -void print_string_list(const char *text, const struct string_list *p); +void print_string_list(const struct string_list *p, const char *text); void string_list_clear(struct string_list *list, int free_util); /* Use this function to call a custom clear function on each util pointer */ -- cgit v1.2.1