summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nwmodem/nwmodem.h4
-rw-r--r--drivers/nwmodem/radio-settings.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/nwmodem/nwmodem.h b/drivers/nwmodem/nwmodem.h
index 68a829b0..e87f375a 100644
--- a/drivers/nwmodem/nwmodem.h
+++ b/drivers/nwmodem/nwmodem.h
@@ -21,5 +21,5 @@
#include <drivers/atmodem/atutil.h>
-extern void nw_radio_settings_init();
-extern void nw_radio_settings_exit();
+extern void nw_radio_settings_init(void);
+extern void nw_radio_settings_exit(void);
diff --git a/drivers/nwmodem/radio-settings.c b/drivers/nwmodem/radio-settings.c
index 36fab393..b8b57192 100644
--- a/drivers/nwmodem/radio-settings.c
+++ b/drivers/nwmodem/radio-settings.c
@@ -201,12 +201,12 @@ static struct ofono_radio_settings_driver driver = {
.set_rat_mode = nw_set_rat_mode
};
-void nw_radio_settings_init()
+void nw_radio_settings_init(void)
{
ofono_radio_settings_driver_register(&driver);
}
-void nw_radio_settings_exit()
+void nw_radio_settings_exit(void)
{
ofono_radio_settings_driver_unregister(&driver);
}