On Wed, Jun 6, 2018 at 12:32 PM Duy Nguyen <pclouds@xxxxxxxxx> wrote: > > define_commit_slab(buffer_slab, struct commit_buffer); > > struct buffer_slab is defined locally here... > ... > > +struct buffer_slab *allocate_commit_buffer_slab(void); > > So you would need a forward declaration of struct buffer_slab in > commit.h before it's referenced here? Will do so in a resend; as well as in object.h