Fix: previous version did not work with variable # of args

This commit is contained in:
ceriel
1993-01-28 11:45:38 +00:00
parent b2ea48418a
commit 122a7ab1bb
4 changed files with 16 additions and 13 deletions

View File

@@ -67,7 +67,6 @@
extern arith ifval;
#endif /* NOPP */
extern arith fbytes;
extern error();
}
@@ -198,6 +197,7 @@ non_function(register struct decspecs *ds; register struct declarator *dc;)
/* 3.7.1 */
function(struct decspecs *ds; struct declarator *dc;)
{
arith fbytes;
register struct idf *idf = dc->dc_idf;
}
:
@@ -222,7 +222,7 @@ function(struct decspecs *ds; struct declarator *dc;)
}
compound_statement
{
end_proc();
end_proc(fbytes);
#ifdef LINT
lint_implicit_return();
#endif /* LINT */