Minor fix
authorceriel <none@none>
Tue, 19 Apr 1994 10:04:53 +0000 (10:04 +0000)
committerceriel <none@none>
Tue, 19 Apr 1994 10:04:53 +0000 (10:04 +0000)
lang/cem/cemcom.ansi/idf.c

index 84d0d03..85db505 100644 (file)
@@ -262,6 +262,10 @@ actual_declaration(sc, tp)
        if (fund == FUNCTION || fund == ARRAY)
                /* allocation solved in other ways */
                return 0;
+       if (sc == EXTERN && fund == VOID) {
+               /* strange, but should be accepted */
+               return 0;
+       }
        /* to be allocated */
        return 1;
 }