bcmdhd: Add void argument to old-style zero prototype functions
authorBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 22:55:45 +0000 (23:55 +0100)
committerBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 23:21:13 +0000 (00:21 +0100)
Make clang-17 happy just by adding the `void` argument.

Change-Id: I15619a55c479d392adf7da344bb3d09a1db0e8ec

19 files changed:
bcmdhd-usb.1.201.88.27.x/dhd_linux_platdev.c
bcmdhd-usb.1.201.88.27.x/wl_cfg_btcoex.c
bcmdhd-usb.1.363.110.17.x/dhd_linux_platdev.c
bcmdhd-usb.1.363.110.17.x/wl_cfg_btcoex.c
bcmdhd.1.363.59.144.x.cn/dhd_linux_platdev.c
bcmdhd.1.363.59.144.x.cn/wl_cfg_btcoex.c
bcmdhd.1.579.77.41.1.cn/dhd_linux_platdev.c
bcmdhd.1.579.77.41.1.cn/wl_cfg_btcoex.c
bcmdhd.100.10.545.x/dhd_linux.c
bcmdhd.100.10.545.x/dhd_linux_platdev.c
bcmdhd.100.10.545.x/wl_cfg_btcoex.c
bcmdhd.101.10.240.x/dhd_linux.c
bcmdhd.101.10.240.x/dhd_linux_platdev.c
bcmdhd.101.10.240.x/wl_cfg_btcoex.c
bcmdhd.101.10.361.x/dhd_linux.c
bcmdhd.101.10.361.x/dhd_linux_platdev.c
bcmdhd.101.10.361.x/wl_cfg_btcoex.c
bcmdhd_1_201_59_x/dhd_linux_platdev.c
bcmdhd_1_201_59_x/wl_cfg_btcoex.c

index 8117cdb27103cbbbbd82bb67f9d81d5cc32aaf81..ee97f3909efb8fd4737a2d7626efef739136898f 100755 (executable)
@@ -737,7 +737,7 @@ static int dhd_wifi_platform_load_usb(void)
 }
 #endif /* BCMDBUS */
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index 63ddc9cefa9ea86b903095f125eccfff62c6ea9f..32244faba46a819db624f9b37a150e5c6bf36009 100644 (file)
@@ -400,7 +400,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index 2543825afcf816a84010246522a22f9909710599..2c0d3a249f0d680d502ca88d687f9be322656aa3 100644 (file)
@@ -748,7 +748,7 @@ static int dhd_wifi_platform_load_usb(void)
 }
 #endif /* BCMDBUS */
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index 38d0ae2545933829360754683308cc9d62a1d79c..a66b07f23c24d06cece3f1ada40e15e748b58d22 100644 (file)
@@ -403,7 +403,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index a154cb3c2e12e8cbe67dce2b45acf583c3c4f65d..9c3334986f748ddab4cdd84bbc38d61dd1ceedb4 100644 (file)
@@ -844,7 +844,7 @@ static int dhd_wifi_platform_load_usb(void)
        return 0;
 }
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index 81e42ab3b15ca120b2023188a91cdf0c6dbe606f..050bb2742f569a1a036586a2ded5aabe14cc6728 100644 (file)
@@ -402,7 +402,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index 9fd726078d13ab653d32ea480dd3129e282e22c6..98e48b23ef92a6d7f38a45f3238cbd6f69585c44 100644 (file)
@@ -976,7 +976,7 @@ static int dhd_wifi_platform_load_usb(void)
 }
 #endif /* BCMDBUS */
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index 6d62b3a40f0973ab0acd1198aba804ad150228d5..b74c75a6c3c45cca1eb6d6273c8d3ee3ccfcd926 100644 (file)
@@ -419,7 +419,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index 54fa3ca05c527b77e69595baabb80b9b459ae333..8eae191333024adeefe6b65fdfe33c155355ebeb 100644 (file)
@@ -17642,7 +17642,7 @@ dhd_nla_put_sssr_dump_len(void *ndev, uint32 *arr_len)
 #endif /* DHD_SSSR_DUMP */
 
 uint32
-dhd_get_time_str_len()
+dhd_get_time_str_len(void)
 {
        char *ts = NULL, time_str[128];
 
index 7ceaa40cc899e843bfc81ac753878a1c830f28ef..0d5b23d984b869ba3ce3d1a8008cfae7536525b2 100644 (file)
@@ -1012,7 +1012,7 @@ static int dhd_wifi_platform_load_usb(void)
 }
 #endif /* BCMDBUS */
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index 735abe04cbf9e2899e52d9908132b080be992f19..b1e2c3bd05ac38d70558230eaf2905e2a199f4d8 100644 (file)
@@ -406,7 +406,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index 0f0e403e8e00ac72965c4523f7e30b5f7232e169..b27c232cb94587ce03a9fdcb4b02ca9ddf7d4eda 100644 (file)
@@ -20058,7 +20058,7 @@ dhd_nla_put_sssr_dump_len(void *ndev, uint32 *arr_len)
 #endif /* DHD_SSSR_DUMP */
 
 uint32
-dhd_get_time_str_len()
+dhd_get_time_str_len(void)
 {
        char *ts = NULL, time_str[128];
 
index 18046a4ce850cef23d232c7d7de75fa2d8bdd243..2b79393ebd67ccfec94269edd64a98f24e225cfa 100644 (file)
@@ -1019,7 +1019,7 @@ static int dhd_wifi_platform_load_usb(void)
 }
 #endif /* BCMDBUS */
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index e5ef7a8539d6fa793b6d7d7b68c14cd5d22e9922..501a9d19b5f8e125d12f75749b197a3eab253ad5 100644 (file)
@@ -405,7 +405,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index f2ab2832126a36cdf80424841e8ca0656b6ca7d9..a4289c0db8e3401f695ee061e17a0707f6091b66 100755 (executable)
@@ -23383,7 +23383,7 @@ dhd_nla_put_sssr_dump_len(void *ndev, uint32 *arr_len)
 #endif /* DHD_SSSR_DUMP */
 
 uint32
-dhd_get_time_str_len()
+dhd_get_time_str_len(void)
 {
        char *ts = NULL, time_str[128];
 
index 8410748920646fda97f2b5b5187c075b582753f0..adf6b2deb2935ad51414668afcd3df3f558c5f55 100755 (executable)
@@ -1078,7 +1078,7 @@ static int dhd_wifi_platform_load_usb(void)
 }
 #endif /* BCMDBUS */
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index 934c20e0a5be2c9ee171f9ba8bdd2283b649bc98..3f334744bac6e4cb0f639c4642ae7455cee91eeb 100755 (executable)
@@ -406,7 +406,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;
index 463191cb91aaa0ad6e6f877deb89231363fecc54..b4fd33f4212c39517692126125b90e531f226e56 100644 (file)
@@ -809,7 +809,7 @@ static int dhd_wifi_platform_load_usb(void)
        return 0;
 }
 
-static int dhd_wifi_platform_load()
+static int dhd_wifi_platform_load(void)
 {
        int err = 0;
        printf("%s: Enter\n", __FUNCTION__);
index c8a16ce551feba64950880743a27bb9a46b79e0b..c03f211a745f8bc7969e3fcfc63f5d1814df55c8 100644 (file)
@@ -381,7 +381,7 @@ void* wl_cfg80211_btcoex_init(struct net_device *ndev)
        return btco_inf;
 }
 
-void wl_cfg80211_btcoex_deinit()
+void wl_cfg80211_btcoex_deinit(void)
 {
        if (!btcoex_info_loc)
                return;