Re: [PATCH v2 34/43] refs.c: make struct ref_transaction generic
On Tue, 2015-10-06 at 10:43 -0700, Michael Blume wrote:
Show 13 quoted lines
> This triggers a lot of build warnings on my mac, basically in every
> file that uses refs.h:
>
> CC archive.o
> In file included from archive.c:2:
> ./refs.h:635:16: warning: redefinition of typedef
> 'ref_transaction_free_fn' is a C11 feature [-Wtypedef-redefinition]
> typedef void (*ref_transaction_free_fn)(struct ref_transaction *transaction);
> ^
> ./refs.h:613:16: note: previous definition is here
> typedef void (*ref_transaction_free_fn)(struct ref_transaction *transaction);
> ^
> 1 warning generated.
Thanks. I'll fix that when I reroll.