On Tue, 2015-10-06 at 10:43 -0700, Michael Blume wrote:
> 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
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_f
Alternate ref backends might need different data for transactions. Make
struct ref_transaction an empty struct, and let backends define their
own structs which extend it.
Signed-off-by: David Turner
---
refs-be-files.c | 24 +---
refs.h | 8 ++--
2 files change
3 matches
Mail list logo