style: remove space between pointer asterisk and variable
@@ -87,7 +87,7 @@ static void
print_struct(FILE *fp, struct jc_struct *p)
{
fprintf(fp, "name %s\n", p->name);
- ntl_apply(fp, p->fields, print_field);
+ ntl_apply(fp, (void**)p->fields, print_field);
}
struct jc_definition {
@@ -101,9 +101,9 @@ print_definition (FILE * fp, struct jc_definition * p)
{
fprintf(fp, "// %s\n", p->description);
fprintf(fp, "namespace: ");
- ntl_apply(fp, p->namespace, fprintf);
+ ntl_apply(fp, (void**)p->namespace, fprintf);
fprintf(fp, "\n");
- ntl_apply(fp, p->structs, print_struct);
+ ntl_apply(fp, (void**)p->structs, print_struct);
}
@@ -574,7 +574,7 @@ static void gen_definition (FILE * fp, struct jc_definition * d)
fprintf(fp, "#include \"specs.h\"\n");
fprintf(fp, "// %s\n", d->description);
gen_open_namespace(fp, d->namespace);
- ntl_apply(fp, d->structs, gen_struct);
+ ntl_apply(fp, (void**)d->structs, gen_struct);
gen_close_namespace(fp, d->namespace);
return;
}
