libobs: Silence clang warnings for empty prototypes without void

clang expects an empty prototype to explicitly use `void`.

Also silences the warning in `libobs-opengl`, `obsglad`, `caption`,
`mac-syphon` and `obs-x264-test`.
This commit is contained in:
PatTheMav
2023-06-16 14:12:58 -04:00
committed by Ryan Foster
parent 5ca17aa25f
commit 3ca56fee84
5 changed files with 12 additions and 1 deletions
+4
View File
@@ -6,3 +6,7 @@ target_link_libraries(obs-x264-test PRIVATE OBS::opts-parser)
add_test(NAME obs-x264-test COMMAND obs-x264-test)
set_target_properties(obs-x264-test PROPERTIES FOLDER plugins/obs-x264)
if(OS_MACOS)
target_compile_options(obs-x264-test PRIVATE -Wno-strict-prototypes)
endif()