summaryrefslogtreecommitdiffstats
path: root/gatchat/gsmdial.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r--gatchat/gsmdial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c
index 22ff2ff2..1be80e39 100644
--- a/gatchat/gsmdial.c
+++ b/gatchat/gsmdial.c
@@ -509,7 +509,7 @@ static void check_mode(gboolean ok, GAtResult *result, gpointer user_data)
g_at_chat_send(control, "AT+CFUN=1", NULL, check_pin, NULL, NULL);
}
-static int open_serial()
+static int open_serial(void)
{
GAtSyntax *syntax;
GIOChannel *channel;
@@ -551,7 +551,7 @@ static int open_serial()
return 0;
}
-static int open_ip()
+static int open_ip(void)
{
int sk, err;
struct sockaddr_in addr;