blame: provide type of fingerprints pointer
commit27f182b3fc05946ba4f504fc5517252a4b3e9f79
authorRené Scharfe <l.s.r@web.de>
Sun, 23 Feb 2020 16:56:31 +0000 (23 17:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2020 20:08:48 +0000 (24 12:08 -0800)
tree4f36175ccbd00fca00bc64737e77f33de4a06722
parentb6d4d82bd5a49197d5d2f4f81c08da0d461cfcf1
blame: provide type of fingerprints pointer

The fingerprints member of struct blame_origin is a void pointer that is
only ever used to reference objects of type struct fingerprint.  Declare
its type to allow the compiler to do type checks.  We can keep its type
opaque in blame.h, though -- only functions in blame.c need to know the
actual definition of struct fingerprint.

Signed-off-by: René Scharfe <l.s.r@web.de>
Reviewed-by: Barret Rhoden <brho@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
blame.h