From edbf2dcb4de93bcc0e4896441aa7fb3267327c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Mon, 3 Jul 2023 04:51:47 +0200 Subject: [PATCH] meson.build: require strict prototypes --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 40a707956..a6d3afdd6 100644 --- a/meson.build +++ b/meson.build @@ -94,6 +94,8 @@ cc_flags = common_flags + [ '-Werror=int-conversion', '-Werror=old-style-declaration', '-Werror=old-style-definition', + '-Werror=missing-parameter-type', + '-Werror=strict-prototypes', ] add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')