aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 3ef2351ca7..421fcf13e4 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -140,7 +140,7 @@ check_symbol_exists(tzname "time.h" HAVE_TZNAME)
if (NL_FOUND)
check_c_source_compiles(
"#include <linux/nl80211.h>
- int main() {
+ int main(void) {
int x = NL80211_FREQUENCY_ATTR_MAX_TX_POWER;
x |= NL80211_ATTR_SUPPORTED_IFTYPES;
x |= NL80211_ATTR_SUPPORTED_COMMANDS;
@@ -152,21 +152,21 @@ if (NL_FOUND)
)
check_c_source_compiles(
"#include <linux/nl80211.h>
- int main() {
+ int main(void) {
enum nl80211_commands x = NL80211_CMD_SET_CHANNEL;
}"
HAVE_NL80211_CMD_SET_CHANNEL
)
check_c_source_compiles(
"#include <linux/nl80211.h>
- int main() {
+ int main(void) {
enum nl80211_protocol_features x = NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP;
}"
HAVE_NL80211_SPLIT_WIPHY_DUMP
)
check_c_source_compiles(
"#include <linux/nl80211.h>
- int main() {
+ int main(void) {
enum nl80211_attrs x = NL80211_ATTR_VHT_CAPABILITY;
}"
HAVE_NL80211_VHT_CAPABILITY