+ if (arg->type->real.func->func->type->type == PSI_T_FUNCTION) {
+ struct psi_decl *decl = arg->type->real.func->func->type->real.func;
+
+ dprintf(fd, "(");
+ if (decl->args) {
+ size_t i;
+ struct psi_decl_arg *arg;
+
+ for (i = 0; psi_plist_get(decl->args, i, &arg); ++i) {
+ if (i) {
+ dprintf(fd, ", ");
+ }
+ psi_decl_arg_dump(fd, arg, 0);
+ }
+ if (decl->varargs) {
+ dprintf(fd, ", ...");
+ }
+ }
+ dprintf(fd, "))");
+ }