1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-22 19:11:10 +02:00

b2/: rename a bit too general "dump" to "dump_param"

This commit is contained in:
Werner Almesberger 2012-06-02 05:18:14 -03:00
parent 6d4c71586d
commit b723c8841a
4 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ static void dump_one_rule(FILE *file, const struct field *field, int level)
fprintf(file, "|");
if (cond->relop != rel_eq)
dump_relop(file, cond->relop);
dump(file, field->fmt, &cond->value);
dump_param(file, field->fmt, &cond->value);
}
fprintf(file, ":");
dump_action(file, &sel->act, level);

View File

@ -190,7 +190,7 @@ void part_dump(FILE *file, const struct part *part)
fprintf(file, " ");
for (p = part->param; p; p = p->next) {
fprintf(file, " %s=", p->u.field->name);
dump(file, p->u.field->fmt, &p->value);
dump_param(file, p->u.field->fmt, &p->value);
}
fprintf(file, "\n");
}

View File

@ -59,7 +59,7 @@ void dump_rel(FILE *file, const struct format *fmt, const struct value *v)
}
void dump(FILE *file, const struct format *fmt, const struct value *v)
void dump_param(FILE *file, const struct format *fmt, const struct value *v)
{
fmt->ops->dump(file, fmt, v);
}

View File

@ -111,7 +111,7 @@ void dump_name(FILE *file, const struct format *fmt, const struct value *v);
void dump_set(FILE *file, const struct format *fmt, const struct value *v);
void dump_abs(FILE *file, const struct format *fmt, const struct value *v);
void dump_rel(FILE *file, const struct format *fmt, const struct value *v);
void dump(FILE *file, const struct format *fmt, const struct value *v);
void dump_param(FILE *file, const struct format *fmt, const struct value *v);
extern const struct param_ops param_ops_name;
extern const struct param_ops param_ops_set;