fixed bug: tp_up is field in union; be more careful

give warning for struct/union declarations in prototypes
This commit is contained in:
eck
1990-01-18 16:58:53 +00:00
parent 35c2daff59
commit 77fc957f64
5 changed files with 22 additions and 15 deletions

View File

@@ -325,7 +325,7 @@ dump_type(tp)
ops = 0;
break;
}
tp = tp->tp_up;
if (!ops) tp = tp->tp_up;
}
dumplevel--;
}
@@ -379,7 +379,7 @@ type2str(tp)
ops = 0;
break;
}
tp = tp->tp_up;
if (!ops) tp = tp->tp_up;
}
return buf;
}