lift single lib statement restriction
[m6w6/ext-psi] / src / validate.c
index c2575e59cb421fbd129a54c91e15f86d85039c64..1d55b13f26ca8a5b4c4d6e11ad7686b381017ec8 100644 (file)
@@ -170,8 +170,8 @@ bool psi_validate(struct psi_validate_scope *scope,
        unsigned flags = dst->flags;
        size_t check_count = ~0;
 
-       /* fail early if library is not found */
-       if (!psi_decl_file_validate(dst, src, &scope->dlopened)) {
+       /* fail early if libraries are not found */
+       if (!psi_decl_file_validate(dst, src)) {
                return false;
        }