On 06/18/2012 08:35 PM, Stefan Hajnoczi wrote:
> On Mon, Jun 11, 2012 at 3:21 PM, Bharata B Rao
> <bhar...@linux.vnet.ibm.com> wrote:
>> +#include "block_int.h"
>> +#include "gluster-helpers.h"
>> +
>> +typedef void *gluster_file_t;
> 
> This typedef is already in gluster-helpers.h.  It's ugly BTW, "typedef
> struct gluster_file gluster_file_t" is nicer since it won't cast to
> other pointer types automatically.

gluster_file_t can only be cast to a NACK since names ending with _t are
reserved by the C runtime.


-- 
error compiling committee.c: too many arguments to function



Reply via email to