]> Kevux Git Server - rit/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 838b3bf..466a926 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 04b0756..1e1d24b 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 */