[gnome-control-center/wip/hadess/fix-nm-1.22-build: 2/2] network: Fix missing prototype error
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/hadess/fix-nm-1.22-build: 2/2] network: Fix missing prototype error
- Date: Wed, 16 Sep 2020 12:34:21 +0000 (UTC)
commit 806c132c4f780f6672d024468e905f8124da12ef
Author: Bastien Nocera <hadess hadess net>
Date: Wed Sep 16 14:33:51 2020 +0200
network: Fix missing prototype error
gnome-control-center/panels/network/net-device-wifi.c:1179:1: warning: no previous prototype for
‘nm_client_on_permission_change’ [-Wmissing-prototypes]
1179 | nm_client_on_permission_change (NetDeviceWifi *self) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
panels/network/net-device-wifi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 2d3677805..ff5fe8a35 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1175,7 +1175,7 @@ net_device_wifi_init (NetDeviceWifi *self)
}
-void
+static void
nm_client_on_permission_change (NetDeviceWifi *self) {
NMClientPermissionResult perm;
NMDeviceWifiCapabilities caps;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]