Modules: Fix checks under -Werror=strict-prototypes

This fixes configuration checks when using -Werror=strict-prototypes or
-Wstrict-prototypes compiler flag, for example, via the CMAKE_C_FLAGS.
4 files changed