Added void to function prototypes that do not have parameters.
No functionality changes.
---
vpn/vpn-config.c | 2 +-
vpn/vpn-provider.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vpn/vpn-config.c b/vpn/vpn-config.c
index 088c7de..ebe7ea6 100644
--- a/vpn/vpn-config.c
+++ b/vpn/vpn-config.c
@@ -406,7 +406,7 @@ static bool validate_ident(const char *ident)
return true;
}
-static char *get_dir()
+static char *get_dir(void)
{
return g_strdup_printf("%s", VPN_STORAGEDIR);
}
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index cf75523..fe4164d 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -2562,7 +2562,7 @@ static struct connman_agent_driver agent_driver = {
.remove = agent_remove,
};
-static void remove_unprovisioned_providers()
+static void remove_unprovisioned_providers(void)
{
gchar **providers;
GKeyFile *keyfile, *configkeyfile;
--
1.7.11.7
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman