1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-25 21:55:20 +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, "|"); fprintf(file, "|");
if (cond->relop != rel_eq) if (cond->relop != rel_eq)
dump_relop(file, cond->relop); dump_relop(file, cond->relop);
dump(file, field->fmt, &cond->value); dump_param(file, field->fmt, &cond->value);
} }
fprintf(file, ":"); fprintf(file, ":");
dump_action(file, &sel->act, level); dump_action(file, &sel->act, level);

View File

@ -190,7 +190,7 @@ void part_dump(FILE *file, const struct part *part)
fprintf(file, " "); fprintf(file, " ");
for (p = part->param; p; p = p->next) { for (p = part->param; p; p = p->next) {
fprintf(file, " %s=", p->u.field->name); 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"); 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); 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_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_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_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_name;
extern const struct param_ops param_ops_set; extern const struct param_ops param_ops_set;