aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Checks.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Checks.ml')
-rw-r--r--cparser/Checks.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Checks.ml b/cparser/Checks.ml
index ee36e226..62d85c1b 100644
--- a/cparser/Checks.ml
+++ b/cparser/Checks.ml
@@ -106,6 +106,7 @@ let unknown_attrs_program p =
let decl env loc d =
unknown_attrs_decl env loc d
and fundef env loc f =
+ List.iter (fun (id,typ) -> unknown_attrs_typ env loc typ) f.fd_params;
unknown_attrs loc f.fd_attrib;
unknown_attrs_stmt env f.fd_body;
List.iter (unknown_attrs_decl env loc) f.fd_locals;