e/bluez4: void argument for empty arguments

func() -> func(void)

Patch by: Lucas Joia <lucasjoia@profusion.mobi>



SVN revision: 82201
This commit is contained in:
Lucas Joia 2013-01-04 16:13:12 +00:00 committed by Lucas De Marchi
parent e0920a6d0d
commit f4c7d258fc
4 changed files with 12 additions and 12 deletions

View File

@ -530,7 +530,7 @@ ebluez4_update_instances(Eina_List *src)
} }
void void
ebluez4_update_all_gadgets_visibility() ebluez4_update_all_gadgets_visibility(void)
{ {
Eina_List *iter; Eina_List *iter;
Instance *inst; Instance *inst;

View File

@ -21,7 +21,7 @@ EAPI int e_modapi_save(E_Module *m);
void ebluez4_update_inst(Evas_Object *dest, Eina_List *src, Instance *inst); void ebluez4_update_inst(Evas_Object *dest, Eina_List *src, Instance *inst);
void ebluez4_update_instances(Eina_List *src); void ebluez4_update_instances(Eina_List *src);
void ebluez4_update_all_gadgets_visibility(); void ebluez4_update_all_gadgets_visibility(void);
void ebluez4_show_error(const char *err_name, const char *err_msg); void ebluez4_show_error(const char *err_name, const char *err_msg);
void ebluez4_adapter_settings_del(E_Dialog *dialog); void ebluez4_adapter_settings_del(E_Dialog *dialog);
void ebluez4_adapter_properties_update(void *data); void ebluez4_adapter_properties_update(void *data);

View File

@ -68,7 +68,7 @@ _free_dev_list(Eina_List **list)
} }
static void static void
_free_adap_list() _free_adap_list(void)
{ {
Adapter *adap; Adapter *adap;
@ -494,7 +494,7 @@ _on_adap_properties(void *data, const EDBus_Message *msg, EDBus_Pending *pending
} }
static void static void
_unset_default_adapter() _unset_default_adapter(void)
{ {
DBG("Remove default adapter %s", edbus_object_path_get(ctxt->adap_obj)); DBG("Remove default adapter %s", edbus_object_path_get(ctxt->adap_obj));
_free_dev_list(&ctxt->devices); _free_dev_list(&ctxt->devices);
@ -671,7 +671,7 @@ _bluez_monitor(void *data, const char *bus, const char *old_id, const char *new_
/* Public Functions */ /* Public Functions */
void void
ebluez4_edbus_init() ebluez4_edbus_init(void)
{ {
EDBus_Object *obj; EDBus_Object *obj;
@ -697,7 +697,7 @@ ebluez4_edbus_init()
} }
void void
ebluez4_edbus_shutdown() ebluez4_edbus_shutdown(void)
{ {
_free_dev_list(&ctxt->devices); _free_dev_list(&ctxt->devices);
_free_dev_list(&ctxt->found_devices); _free_dev_list(&ctxt->found_devices);
@ -709,7 +709,7 @@ ebluez4_edbus_shutdown()
} }
void void
ebluez4_start_discovery() ebluez4_start_discovery(void)
{ {
_free_dev_list(&ctxt->found_devices); _free_dev_list(&ctxt->found_devices);
ebluez4_update_instances(ctxt->found_devices); ebluez4_update_instances(ctxt->found_devices);
@ -717,7 +717,7 @@ ebluez4_start_discovery()
} }
void void
ebluez4_stop_discovery() ebluez4_stop_discovery(void)
{ {
edbus_proxy_call(ctxt->adap_proxy, "StopDiscovery", NULL, NULL, -1, ""); edbus_proxy_call(ctxt->adap_proxy, "StopDiscovery", NULL, NULL, -1, "");
} }

View File

@ -71,10 +71,10 @@ typedef struct _Context
Context *ctxt; Context *ctxt;
void ebluez4_edbus_init(); void ebluez4_edbus_init(void);
void ebluez4_edbus_shutdown(); void ebluez4_edbus_shutdown(void);
void ebluez4_start_discovery(); void ebluez4_start_discovery(void);
void ebluez4_stop_discovery(); void ebluez4_stop_discovery(void);
void ebluez4_connect_to_device(Device *dev); void ebluez4_connect_to_device(Device *dev);
void ebluez4_disconnect_device(Device *dev); void ebluez4_disconnect_device(Device *dev);
void ebluez4_pair_with_device(const char *addr, void (*cb)(void *, Eina_Bool, const char *), void *data); void ebluez4_pair_with_device(const char *addr, void (*cb)(void *, Eina_Bool, const char *), void *data);