From: Ævar Arnfjörð Bjarmason Date: Thu, 10 May 2018 12:42:59 +0000 (+0000) Subject: sha1-array.h: align function arguments X-Git-Tag: v2.18.0-rc0~15^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7248672947c8b88605f12f6a53b510bb9d9d4c37;p=git sha1-array.h: align function arguments The arguments weren't lined up with the opening parenthesis, after 910650d2 ("Rename sha1_array to oid_array", 2017-03-31) renamed the function. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/sha1-array.c b/sha1-array.c index 838b3bf847..466a926aa3 100644 --- a/sha1-array.c +++ b/sha1-array.c @@ -42,8 +42,8 @@ void oid_array_clear(struct oid_array *array) } int oid_array_for_each_unique(struct oid_array *array, - for_each_oid_fn fn, - void *data) + for_each_oid_fn fn, + void *data) { int i; diff --git a/sha1-array.h b/sha1-array.h index 04b0756334..1e1d24b009 100644 --- a/sha1-array.h +++ b/sha1-array.h @@ -17,7 +17,7 @@ void oid_array_clear(struct oid_array *array); typedef int (*for_each_oid_fn)(const struct object_id *oid, void *data); int oid_array_for_each_unique(struct oid_array *array, - for_each_oid_fn fn, - void *data); + for_each_oid_fn fn, + void *data); #endif /* SHA1_ARRAY_H */