Skip to content

Display and control your Android device

Enable missing-prototypes warning

Romain Vimont3c2013de10ba
diff --git a/meson.build b/meson.build
index 847e33a1..ed3f42bf 100644
--- a/meson.build
+++ b/meson.build
@@ -7,6 +7,8 @@ project('scrcpy', 'c',
'b_ndebug=if-release',
])
+add_project_arguments('-Wmissing-prototypes', language: 'c')
+
if get_option('compile_app')
subdir('app')
endif