}
-GAtSyntax *g_at_syntax_new_gsmv1()
+GAtSyntax *g_at_syntax_new_gsmv1(void)
{
return g_at_syntax_new_full(gsmv1_feed, gsmv1_hint, GSMV1_STATE_IDLE);
}
-GAtSyntax *g_at_syntax_new_gsm_permissive()
+GAtSyntax *g_at_syntax_new_gsm_permissive(void)
{
return g_at_syntax_new_full(gsm_permissive_feed, gsm_permissive_hint,
GSM_PERMISSIVE_STATE_IDLE);
* properly and can be used to detect a modem's deviations from the relevant
* standards.
*/
-GAtSyntax *g_at_syntax_new_gsmv1();
+GAtSyntax *g_at_syntax_new_gsmv1(void);
/* This syntax implements an extremely lax parser that can handle a variety
* of modems. Unfortunately it does not deal with echo at all, so echo must
* be explicitly turned off before using the parser
*/
-GAtSyntax *g_at_syntax_new_gsm_permissive();
+GAtSyntax *g_at_syntax_new_gsm_permissive(void);
GAtSyntax *g_at_syntax_ref(GAtSyntax *syntax);
void g_at_syntax_unref(GAtSyntax *syntax);
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;
return 0;
}
-static int open_ip()
+static int open_ip(void)
{
int sk, err;
struct sockaddr_in addr;
static GAtPPP *ppp;
unsigned int server_watch;
-static gboolean server_cleanup()
+static gboolean server_cleanup(void)
{
if (server_watch)
g_source_remove(server_watch);
return TRUE;
}
-static int create_signal_io()
+static int create_signal_io(void)
{
sigset_t mask;
GIOChannel *signal_io;