1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-19 08:30:38 +02:00

gencat/pdf.c (convert_comp): rename to convert_comp

For consistency.
This commit is contained in:
Werner Almesberger 2012-07-12 10:47:41 -03:00
parent 340428c92a
commit 408c003822

View File

@ -266,7 +266,7 @@ static void print_comment(FILE *file, const struct line *comment)
/* ----- Component conversion ---------------------------------------------- */ /* ----- Component conversion ---------------------------------------------- */
static void convert_comp(const struct node *node, FILE *out) static void convert_entry(const struct node *node, FILE *out)
{ {
const struct lib *lib = node->e->file->lib; const struct lib *lib = node->e->file->lib;
int i; int i;
@ -295,7 +295,7 @@ static void convert_tree(const struct node *node, FILE *out)
if (node->child) if (node->child)
convert_tree(node->child, out); convert_tree(node->child, out);
else else
convert_comp(node, out); convert_entry(node, out);
node = node->next; node = node->next;
} }
} }