[gnome-control-center/wip/hadess/fix-nm-1.22-build: 2/2] network: Fix missing prototype error
- From: Georges Basile Stavracas Neto <gbsneto 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 13:11:56 +0000 (UTC)
commit eb79846c53dc19fd974d7cae3f5de6c1f06fbb87
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 cb86e5b0a..c4c177917 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]