summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>2013-01-03 14:05:51 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-03 14:05:51 +0000
commit30a6da0e7f788a2cbd014afc7ef91eaeb77c394c (patch)
treee94774f618d74fd097882eddfb9b26a0fe85b8e1 /src
parent9e1f5d80fedd1b8ddead3be5eb9653e76ed4b2cb (diff)
edbus: Suppress warnings of unused parameters
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 82072
Diffstat (limited to 'src')
-rw-r--r--src/lib/edbus/edbus_core.c16
-rw-r--r--src/lib/edbus/edbus_message_to_eina_value.c4
-rw-r--r--src/lib/edbus/edbus_object.c2
-rw-r--r--src/lib/edbus/edbus_proxy.c4
-rw-r--r--src/lib/edbus/edbus_service.c6
5 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/edbus/edbus_core.c b/src/lib/edbus/edbus_core.c
index 1d47ee7c60..6dc966e484 100644
--- a/src/lib/edbus/edbus_core.c
+++ b/src/lib/edbus/edbus_core.c
@@ -433,7 +433,7 @@ on_name_owner_changed(void *data, const EDBus_Message *msg)
433} 433}
434 434
435static void 435static void
436on_get_name_owner(void *data, const EDBus_Message *msg, EDBus_Pending *pending) 436on_get_name_owner(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
437{ 437{
438 const char *unique_id = ""; 438 const char *unique_id = "";
439 EDBus_Connection_Name *cn = data; 439 EDBus_Connection_Name *cn = data;
@@ -608,7 +608,7 @@ cb_watch_add(DBusWatch *watch, void *data)
608} 608}
609 609
610static void 610static void
611cb_watch_del(DBusWatch *watch, void *data) 611cb_watch_del(DBusWatch *watch, void *data EINA_UNUSED)
612{ 612{
613 DBG("cb_watch_del"); 613 DBG("cb_watch_del");
614 /* will trigger edbus_handler_data_free() */ 614 /* will trigger edbus_handler_data_free() */
@@ -616,7 +616,7 @@ cb_watch_del(DBusWatch *watch, void *data)
616} 616}
617 617
618static void 618static void
619cb_watch_toggle(DBusWatch *watch, void *data) 619cb_watch_toggle(DBusWatch *watch, void *data EINA_UNUSED)
620{ 620{
621 EDBus_Handler_Data *hd; 621 EDBus_Handler_Data *hd;
622 hd = dbus_watch_get_data(watch); 622 hd = dbus_watch_get_data(watch);
@@ -683,7 +683,7 @@ cb_timeout_add(DBusTimeout *timeout, void *data)
683} 683}
684 684
685static void 685static void
686cb_timeout_del(DBusTimeout *timeout, void *data) 686cb_timeout_del(DBusTimeout *timeout, void *data EINA_UNUSED)
687{ 687{
688 DBG("timeout del!"); 688 DBG("timeout del!");
689 /* will trigger edbus_timeout_data_free() */ 689 /* will trigger edbus_timeout_data_free() */
@@ -691,7 +691,7 @@ cb_timeout_del(DBusTimeout *timeout, void *data)
691} 691}
692 692
693static void 693static void
694cb_timeout_toggle(DBusTimeout *timeout, void *data) 694cb_timeout_toggle(DBusTimeout *timeout, void *data EINA_UNUSED)
695{ 695{
696 EDBus_Timeout_Data *td; 696 EDBus_Timeout_Data *td;
697 697
@@ -740,7 +740,7 @@ edbus_idler(void *data)
740} 740}
741 741
742static void 742static void
743cb_dispatch_status(DBusConnection *dbus_conn, DBusDispatchStatus new_status, void *data) 743cb_dispatch_status(DBusConnection *dbus_conn EINA_UNUSED, DBusDispatchStatus new_status, void *data)
744{ 744{
745 EDBus_Connection *conn = data; 745 EDBus_Connection *conn = data;
746 746
@@ -846,7 +846,7 @@ cb_signal_dispatcher(EDBus_Connection *conn, DBusMessage *msg)
846} 846}
847 847
848static DBusHandlerResult 848static DBusHandlerResult
849edbus_filter(DBusConnection *conn_dbus, DBusMessage *message, void *user_data) 849edbus_filter(DBusConnection *conn_dbus EINA_UNUSED, DBusMessage *message, void *user_data)
850{ 850{
851 EDBus_Connection *conn = user_data; 851 EDBus_Connection *conn = user_data;
852 852
@@ -912,7 +912,7 @@ edbus_connection_setup(EDBus_Connection *conn)
912} 912}
913 913
914static void 914static void
915_disconnected(void *data, const EDBus_Message *msg) 915_disconnected(void *data, const EDBus_Message *msg EINA_UNUSED)
916{ 916{
917 EDBus_Connection *conn = data; 917 EDBus_Connection *conn = data;
918 _edbus_connection_event_callback_call( 918 _edbus_connection_event_callback_call(
diff --git a/src/lib/edbus/edbus_message_to_eina_value.c b/src/lib/edbus/edbus_message_to_eina_value.c
index caee35dedd..7601a1d5cc 100644
--- a/src/lib/edbus/edbus_message_to_eina_value.c
+++ b/src/lib/edbus/edbus_message_to_eina_value.c
@@ -222,7 +222,7 @@ typedef struct _EDBus_Struct_Desc
222} EDBus_Struct_Desc; 222} EDBus_Struct_Desc;
223 223
224static void * 224static void *
225_ops_malloc(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc) 225_ops_malloc(const Eina_Value_Struct_Operations *ops EINA_UNUSED, const Eina_Value_Struct_Desc *desc)
226{ 226{
227 EDBus_Struct_Desc *edesc = (EDBus_Struct_Desc*)desc; 227 EDBus_Struct_Desc *edesc = (EDBus_Struct_Desc*)desc;
228 edesc->refcount++; 228 edesc->refcount++;
@@ -231,7 +231,7 @@ _ops_malloc(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Des
231} 231}
232 232
233static void 233static void
234_ops_free(const Eina_Value_Struct_Operations *ops, const Eina_Value_Struct_Desc *desc, void *memory) 234_ops_free(const Eina_Value_Struct_Operations *ops EINA_UNUSED, const Eina_Value_Struct_Desc *desc, void *memory)
235{ 235{
236 EDBus_Struct_Desc *edesc = (EDBus_Struct_Desc*) desc; 236 EDBus_Struct_Desc *edesc = (EDBus_Struct_Desc*) desc;
237 edesc->refcount--; 237 edesc->refcount--;
diff --git a/src/lib/edbus/edbus_object.c b/src/lib/edbus/edbus_object.c
index 6b2c55d7fa..c887eb6056 100644
--- a/src/lib/edbus/edbus_object.c
+++ b/src/lib/edbus/edbus_object.c
@@ -176,7 +176,7 @@ _edbus_object_free(EDBus_Object *obj)
176} 176}
177 177
178static void 178static void
179_on_connection_free(void *data, const void *dead_pointer) 179_on_connection_free(void *data, const void *dead_pointer EINA_UNUSED)
180{ 180{
181 EDBus_Object *obj = data; 181 EDBus_Object *obj = data;
182 EDBUS_OBJECT_CHECK(obj); 182 EDBUS_OBJECT_CHECK(obj);
diff --git a/src/lib/edbus/edbus_proxy.c b/src/lib/edbus/edbus_proxy.c
index 72c192cf16..c90b91bd0c 100644
--- a/src/lib/edbus/edbus_proxy.c
+++ b/src/lib/edbus/edbus_proxy.c
@@ -184,7 +184,7 @@ _edbus_proxy_free(EDBus_Proxy *proxy)
184} 184}
185 185
186static void 186static void
187_on_object_free(void *data, const void *dead_pointer) 187_on_object_free(void *data, const void *dead_pointer EINA_UNUSED)
188{ 188{
189 EDBus_Proxy *proxy = data; 189 EDBus_Proxy *proxy = data;
190 EDBUS_PROXY_CHECK(proxy); 190 EDBUS_PROXY_CHECK(proxy);
@@ -703,7 +703,7 @@ _property_iter(void *data, const void *key, EDBus_Message_Iter *var)
703} 703}
704 704
705static void 705static void
706_props_get_all(void *data, const EDBus_Message *msg, EDBus_Pending *pending) 706_props_get_all(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
707{ 707{
708 EDBus_Proxy *proxy = data; 708 EDBus_Proxy *proxy = data;
709 EDBus_Message_Iter *dict; 709 EDBus_Message_Iter *dict;
diff --git a/src/lib/edbus/edbus_service.c b/src/lib/edbus/edbus_service.c
index 3df394693b..e83d7a48bb 100644
--- a/src/lib/edbus/edbus_service.c
+++ b/src/lib/edbus/edbus_service.c
@@ -1087,7 +1087,7 @@ _object_free(EDBus_Service_Object *obj)
1087} 1087}
1088 1088
1089static void 1089static void
1090_on_connection_free(void *data, const void *dead_pointer) 1090_on_connection_free(void *data, const void *dead_pointer EINA_UNUSED)
1091{ 1091{
1092 EDBus_Service_Object *obj = data; 1092 EDBus_Service_Object *obj = data;
1093 dbus_connection_unregister_object_path(obj->conn->dbus_conn, obj->path); 1093 dbus_connection_unregister_object_path(obj->conn->dbus_conn, obj->path);
@@ -1122,14 +1122,14 @@ edbus_service_object_unregister(EDBus_Service_Interface *iface)
1122} 1122}
1123 1123
1124static void 1124static void
1125_object_unregister(DBusConnection *conn, void *user_data) 1125_object_unregister(DBusConnection *conn EINA_UNUSED, void *user_data)
1126{ 1126{
1127 EDBus_Service_Object *obj = user_data; 1127 EDBus_Service_Object *obj = user_data;
1128 _object_free(obj); 1128 _object_free(obj);
1129} 1129}
1130 1130
1131static DBusHandlerResult 1131static DBusHandlerResult
1132_object_handler(DBusConnection *conn, DBusMessage *msg, void *user_data) 1132_object_handler(DBusConnection *conn EINA_UNUSED, DBusMessage *msg, void *user_data)
1133{ 1133{
1134 EDBus_Service_Object *obj; 1134 EDBus_Service_Object *obj;
1135 EDBus_Service_Interface *iface; 1135 EDBus_Service_Interface *iface;