projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
dump fixes
[m6w6/ext-psi]
/
src
/
types
/
decl_type.c
diff --git
a/src/types/decl_type.c
b/src/types/decl_type.c
index 164f33ffc0953ca210e47a0f1a57230dc68ea878..9db6de14a3c87c1e34f1e7f692884ade87a45f0d 100644
(file)
--- a/
src/types/decl_type.c
+++ b/
src/types/decl_type.c
@@
-289,7
+289,7
@@
bool psi_decl_type_validate(struct psi_data *data, struct psi_decl_type *type,
return true;
}
return true;
}
-void psi_decl_type_dump_args_with_layout(
int fd
, struct psi_plist *args,
+void psi_decl_type_dump_args_with_layout(
struct psi_dump *dump
, struct psi_plist *args,
unsigned level)
{
size_t i = 0;
unsigned level)
{
size_t i = 0;
@@
-349,7
+349,7
@@
void psi_decl_type_dump(struct psi_dump *dump, struct psi_decl_type *t, unsigned
case PSI_T_STRUCT:
PSI_DUMP(dump, "struct ");
if (psi_decl_type_is_anon(t->name, "struct")) {
case PSI_T_STRUCT:
PSI_DUMP(dump, "struct ");
if (psi_decl_type_is_anon(t->name, "struct")) {
- psi_decl_type_dump_args_with_layout(
fd
, t->real.strct->args, level);
+ psi_decl_type_dump_args_with_layout(
dump
, t->real.strct->args, level);
return;
}
break;
return;
}
break;
@@
-357,7
+357,7
@@
void psi_decl_type_dump(struct psi_dump *dump, struct psi_decl_type *t, unsigned
case PSI_T_UNION:
PSI_DUMP(dump, "union ");
if (psi_decl_type_is_anon(t->name, "union")) {
case PSI_T_UNION:
PSI_DUMP(dump, "union ");
if (psi_decl_type_is_anon(t->name, "union")) {
- psi_decl_type_dump_args_with_layout(
fd
, t->real.unn->args, level);
+ psi_decl_type_dump_args_with_layout(
dump
, t->real.unn->args, level);
return;
}
break;
return;
}
break;