summaryrefslogtreecommitdiff
path: root/src/examples/edbus/complex-types-server.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <zehortigoza@profusion.mobi>2013-01-04 16:44:06 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-04 16:44:06 +0000
commit748b09d7c0f1ef98b38c94331549baa5d0d5a994 (patch)
treedffabfe5a5fc0016ce80dd7dfab2ea2aafbc7d5a /src/examples/edbus/complex-types-server.c
parent231b69735b439becfc23fecd86fec937656f40ad (diff)
edbus: Remove unused parameter warning of edbus examples
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 82213
Diffstat (limited to 'src/examples/edbus/complex-types-server.c')
-rw-r--r--src/examples/edbus/complex-types-server.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/examples/edbus/complex-types-server.c b/src/examples/edbus/complex-types-server.c
index 5e8742236c..7441690c71 100644
--- a/src/examples/edbus/complex-types-server.c
+++ b/src/examples/edbus/complex-types-server.c
@@ -11,7 +11,7 @@ static int int32 = 35;
11static Ecore_Timer *timer; 11static Ecore_Timer *timer;
12 12
13static EDBus_Message * 13static EDBus_Message *
14_receive_array(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 14_receive_array(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
15{ 15{
16 EDBus_Message *reply = edbus_message_method_return_new(msg); 16 EDBus_Message *reply = edbus_message_method_return_new(msg);
17 EDBus_Message_Iter *array; 17 EDBus_Message_Iter *array;
@@ -32,7 +32,7 @@ _receive_array(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
32} 32}
33 33
34static EDBus_Message * 34static EDBus_Message *
35_receive_array_of_string_int_with_size(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 35_receive_array_of_string_int_with_size(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
36{ 36{
37 EDBus_Message *reply = edbus_message_method_return_new(msg); 37 EDBus_Message *reply = edbus_message_method_return_new(msg);
38 EDBus_Message_Iter *array, *struct_si; 38 EDBus_Message_Iter *array, *struct_si;
@@ -64,7 +64,7 @@ _receive_array_of_string_int_with_size(const EDBus_Service_Interface *iface, con
64} 64}
65 65
66static EDBus_Message * 66static EDBus_Message *
67_receive_variant(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 67_receive_variant(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
68{ 68{
69 EDBus_Message *reply = edbus_message_method_return_new(msg); 69 EDBus_Message *reply = edbus_message_method_return_new(msg);
70 EDBus_Message_Iter *var, *array, *main_iter; 70 EDBus_Message_Iter *var, *array, *main_iter;
@@ -84,7 +84,7 @@ _receive_variant(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
84} 84}
85 85
86static EDBus_Message * 86static EDBus_Message *
87_send_variant(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 87_send_variant(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
88{ 88{
89 EDBus_Message *reply = edbus_message_method_return_new(msg); 89 EDBus_Message *reply = edbus_message_method_return_new(msg);
90 EDBus_Message_Iter *variant; 90 EDBus_Message_Iter *variant;
@@ -135,7 +135,7 @@ _send_variant(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
135} 135}
136 136
137static EDBus_Message * 137static EDBus_Message *
138_send_array_int(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 138_send_array_int(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
139{ 139{
140 EDBus_Message *reply = edbus_message_method_return_new(msg); 140 EDBus_Message *reply = edbus_message_method_return_new(msg);
141 EDBus_Message_Iter *iter, *array; 141 EDBus_Message_Iter *iter, *array;
@@ -153,7 +153,7 @@ _send_array_int(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
153} 153}
154 154
155static EDBus_Message * 155static EDBus_Message *
156_send_array(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 156_send_array(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
157{ 157{
158 EDBus_Message *reply = edbus_message_method_return_new(msg); 158 EDBus_Message *reply = edbus_message_method_return_new(msg);
159 EDBus_Message_Iter *iter, *array; 159 EDBus_Message_Iter *iter, *array;
@@ -172,7 +172,7 @@ _send_array(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
172} 172}
173 173
174static EDBus_Message * 174static EDBus_Message *
175_plus_one(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 175_plus_one(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
176{ 176{
177 EDBus_Message *reply = edbus_message_method_return_new(msg); 177 EDBus_Message *reply = edbus_message_method_return_new(msg);
178 int num; 178 int num;
@@ -190,7 +190,7 @@ _plus_one(const EDBus_Service_Interface *iface, const EDBus_Message *msg)
190} 190}
191 191
192static EDBus_Message * 192static EDBus_Message *
193_double_container(const EDBus_Service_Interface *iface, const EDBus_Message *msg) 193_double_container(const EDBus_Service_Interface *iface EINA_UNUSED, const EDBus_Message *msg)
194{ 194{
195 EDBus_Message_Iter *array1, *array2, *structure; 195 EDBus_Message_Iter *array1, *array2, *structure;
196 int num1, num2; 196 int num1, num2;
@@ -220,7 +220,7 @@ _double_container(const EDBus_Service_Interface *iface, const EDBus_Message *msg
220} 220}
221 221
222static Eina_Bool 222static Eina_Bool
223_properties_get(const EDBus_Service_Interface *iface, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *request_msg, EDBus_Message **error) 223_properties_get(const EDBus_Service_Interface *iface EINA_UNUSED, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *request_msg EINA_UNUSED, EDBus_Message **error EINA_UNUSED)
224{ 224{
225 printf("Properties_get - %s\n", propname); 225 printf("Properties_get - %s\n", propname);
226 if (!strcmp(propname, "Resp2")) 226 if (!strcmp(propname, "Resp2"))
@@ -243,7 +243,7 @@ _properties_get(const EDBus_Service_Interface *iface, const char *propname, EDBu
243} 243}
244 244
245static EDBus_Message * 245static EDBus_Message *
246_properties_set(const EDBus_Service_Interface *iface, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *msg) 246_properties_set(const EDBus_Service_Interface *iface EINA_UNUSED, const char *propname, EDBus_Message_Iter *iter, const EDBus_Message *msg)
247{ 247{
248 char *type; 248 char *type;
249 249
@@ -335,7 +335,7 @@ static Eina_Bool _emit_changed(void *data)
335} 335}
336 336
337static void 337static void
338on_name_request(void *data, const EDBus_Message *msg, EDBus_Pending *pending) 338on_name_request(void *data, const EDBus_Message *msg, EDBus_Pending *pending EINA_UNUSED)
339{ 339{
340 unsigned int reply; 340 unsigned int reply;
341 EDBus_Service_Interface *iface = data; 341 EDBus_Service_Interface *iface = data;