]> git.ipfire.org Git - thirdparty/git.git/commitdiff
sha1-array.h: align function arguments
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 10 May 2018 12:42:59 +0000 (12:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 May 2018 03:07:45 +0000 (12:07 +0900)
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 <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1-array.c
sha1-array.h

index 838b3bf8478cfdfcd78f866e69dc0f8c5cbf3c9e..466a926aa3c7794c73c76c9c94ecfa4d62a20ad4 100644 (file)
@@ -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;
 
index 04b0756334da7adf1e3eefb3f521f8c95d263046..1e1d24b009d09ced8881aff6b770f59dc10a233f 100644 (file)
@@ -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 */