core: M15 coding style fix

This commit is contained in:
Jeevaka Badrappan 2011-01-12 12:52:04 +02:00 committed by Marcel Holtmann
parent 819fb91144
commit 480f7dffd9
5 changed files with 13 additions and 13 deletions

View File

@ -415,7 +415,7 @@ gboolean __ofono_dbus_valid_object_path(const char *path)
return TRUE;
}
DBusConnection *ofono_dbus_get_connection()
DBusConnection *ofono_dbus_get_connection(void)
{
return g_connection;
}

View File

@ -42,7 +42,7 @@
static GMainLoop *event_loop;
void __ofono_exit()
void __ofono_exit(void)
{
g_main_loop_quit(event_loop);
}

View File

@ -91,7 +91,7 @@ static GDBusSignalTable manager_signals[] = {
{ }
};
int __ofono_manager_init()
int __ofono_manager_init(void)
{
DBusConnection *conn = ofono_dbus_get_connection();
gboolean ret;
@ -107,7 +107,7 @@ int __ofono_manager_init()
return 0;
}
void __ofono_manager_cleanup()
void __ofono_manager_cleanup(void)
{
DBusConnection *conn = ofono_dbus_get_connection();

View File

@ -1560,12 +1560,12 @@ static void sim_watch(struct ofono_atom *atom,
modem, NULL);
}
void __ofono_modemwatch_init()
void __ofono_modemwatch_init(void)
{
g_modemwatches = __ofono_watchlist_new(g_free);
}
void __ofono_modemwatch_cleanup()
void __ofono_modemwatch_cleanup(void)
{
__ofono_watchlist_free(g_modemwatches);
}
@ -1850,7 +1850,7 @@ void ofono_modem_driver_unregister(const struct ofono_modem_driver *d)
}
}
void __ofono_modem_shutdown()
void __ofono_modem_shutdown(void)
{
struct ofono_modem *modem;
GSList *l;

View File

@ -25,12 +25,12 @@
#include <ofono/types.h>
void __ofono_exit();
void __ofono_exit(void);
int __ofono_manager_init();
void __ofono_manager_cleanup();
int __ofono_manager_init(void);
void __ofono_manager_cleanup(void);
void __ofono_modem_shutdown();
void __ofono_modem_shutdown(void);
#include <ofono/log.h>
@ -174,8 +174,8 @@ void __ofono_atom_free(struct ofono_atom *atom);
typedef void (*ofono_modemwatch_cb_t)(struct ofono_modem *modem,
gboolean added, void *data);
void __ofono_modemwatch_init();
void __ofono_modemwatch_cleanup();
void __ofono_modemwatch_init(void);
void __ofono_modemwatch_cleanup(void);
unsigned int __ofono_modemwatch_add(ofono_modemwatch_cb_t cb, void *user,
ofono_destroy_func destroy);
gboolean __ofono_modemwatch_remove(unsigned int id);