summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/calypsomodem/calypsomodem.h8
-rw-r--r--drivers/calypsomodem/stk.c4
-rw-r--r--drivers/calypsomodem/voicecall.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/drivers/calypsomodem/calypsomodem.h b/drivers/calypsomodem/calypsomodem.h
index caf7a3d1..47ebf343 100644
--- a/drivers/calypsomodem/calypsomodem.h
+++ b/drivers/calypsomodem/calypsomodem.h
@@ -21,8 +21,8 @@
#include <drivers/atmodem/atutil.h>
-extern void calypso_voicecall_init();
-extern void calypso_voicecall_exit();
+extern void calypso_voicecall_init(void);
+extern void calypso_voicecall_exit(void);
-extern void calypso_stk_init();
-extern void calypso_stk_exit();
+extern void calypso_stk_init(void);
+extern void calypso_stk_exit(void);
diff --git a/drivers/calypsomodem/stk.c b/drivers/calypsomodem/stk.c
index 203cb9bc..196b9e33 100644
--- a/drivers/calypsomodem/stk.c
+++ b/drivers/calypsomodem/stk.c
@@ -300,12 +300,12 @@ static struct ofono_stk_driver driver = {
.terminal_response = calypso_stk_terminal_response,
};
-void calypso_stk_init()
+void calypso_stk_init(void)
{
ofono_stk_driver_register(&driver);
}
-void calypso_stk_exit()
+void calypso_stk_exit(void)
{
ofono_stk_driver_unregister(&driver);
}
diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c
index 0e6a3889..f87e480f 100644
--- a/drivers/calypsomodem/voicecall.c
+++ b/drivers/calypsomodem/voicecall.c
@@ -434,12 +434,12 @@ static struct ofono_voicecall_driver driver = {
.send_tones = calypso_send_dtmf
};
-void calypso_voicecall_init()
+void calypso_voicecall_init(void)
{
ofono_voicecall_driver_register(&driver);
}
-void calypso_voicecall_exit()
+void calypso_voicecall_exit(void)
{
ofono_voicecall_driver_unregister(&driver);
}