A strict warning was given too often

This commit is contained in:
ceriel
1991-03-13 10:11:25 +00:00
parent 0a517b9256
commit 17266fb373
2 changed files with 6 additions and 2 deletions

View File

@@ -155,14 +155,16 @@ external_definition
[
function(&Ds, &Dc)
|
{ if (! Ds.ds_sc_given && Ds.ds_notypegiven) {
{ if (! Ds.ds_sc_given && ! Ds.ds_typequal &&
Ds.ds_notypegiven) {
strict("declaration specifiers missing");
}
}
non_function(&Ds, &Dc)
]
|
{ if (! Ds.ds_sc_given && Ds.ds_notypegiven) {
{ if (! Ds.ds_sc_given && ! Ds.ds_typequal &&
Ds.ds_notypegiven) {
strict("declaration missing");
}
}