Bug fix in old-style/new-style mixing
This commit is contained in:
parent
5b1de5a348
commit
14305ca64d
@ -487,10 +487,14 @@ check_pseudoproto(pl, opl, diag)
|
||||
return 0;
|
||||
}
|
||||
if (opl->pl_flag & PL_VOID) {
|
||||
if (diag && !(pl->pl_flag & PL_VOID))
|
||||
if (!(pl->pl_flag & PL_VOID)) {
|
||||
if (diag) {
|
||||
strict("function is defined without parameters");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
while (pl && opl) {
|
||||
if (!equal_type(pl->pl_type, opl->pl_type, -1, diag)) {
|
||||
if (diag) {
|
||||
|
||||
@ -177,6 +177,8 @@ make_macros: Makefile
|
||||
echo 'COPTIONS=$(COPTIONS)' >> make_macros
|
||||
echo 'LDOPTIONS=$(LDOPTIONS)' >> make_macros
|
||||
echo 'LINT=$(LINT)' >> make_macros
|
||||
echo 'LINTSUF=$(LINTSUF)' >> make_macros
|
||||
echo 'LINTPREF=$(LINTPREF)' >> make_macros
|
||||
echo 'LINTOPTIONS=$(LINTOPTIONS)' >> make_macros
|
||||
echo 'SUF=$(SUF)' >> make_macros
|
||||
echo 'LIBSUF=$(LIBSUF)' >> make_macros
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user