summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-01-09 08:33:20 +0100
committerCedric BAIL <cedric.bail@samsung.com>2014-01-10 16:35:32 +0900
commit6871f93e2ff2aa59a7bc227908f58f1cf047d7f8 (patch)
treea36e404f20a8377d9b738353f9d4cb807c4f7a2b /src/examples
parent15ca7896929b0d0e64f996a8c7c6d0ae76219eda (diff)
examples: remove unused param warnings
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/ecore_animator_example.c2
-rw-r--r--src/examples/ecore/ecore_client_bench.c6
-rw-r--r--src/examples/ecore/ecore_con_client_example.c6
-rw-r--r--src/examples/ecore/ecore_con_lookup_example.c2
-rw-r--r--src/examples/ecore/ecore_con_server_example.c6
-rw-r--r--src/examples/ecore/ecore_con_url_download_example.c4
-rw-r--r--src/examples/ecore/ecore_con_url_headers_example.c4
-rw-r--r--src/examples/ecore/ecore_evas_basics_example.c2
-rw-r--r--src/examples/ecore/ecore_evas_callbacks.c30
-rw-r--r--src/examples/ecore/ecore_evas_ews_example.c10
-rw-r--r--src/examples/ecore/ecore_event_example_01.c4
-rw-r--r--src/examples/ecore/ecore_event_example_02.c6
-rw-r--r--src/examples/ecore/ecore_exe_example.c8
-rw-r--r--src/examples/ecore/ecore_exe_example_child.c5
-rw-r--r--src/examples/ecore/ecore_fd_handler_example.c6
-rw-r--r--src/examples/ecore/ecore_file_download_example.c6
-rw-r--r--src/examples/ecore/ecore_idler_example.c8
-rw-r--r--src/examples/ecore/ecore_imf_example.c26
-rw-r--r--src/examples/ecore/ecore_job_example.c6
-rw-r--r--src/examples/ecore/ecore_pipe_simple_example.c4
-rw-r--r--src/examples/ecore/ecore_poller_example.c4
-rw-r--r--src/examples/ecore/ecore_server_bench.c4
-rw-r--r--src/examples/ecore/ecore_thread_example.c7
-rw-r--r--src/examples/ecore/ecore_time_functions_example.c4
-rw-r--r--src/examples/ecore/ecore_timer_example.c4
-rw-r--r--src/examples/eet/eet-data-file_descriptor_01.c6
-rw-r--r--src/examples/eina/eina_tiler_01.c2
-rw-r--r--src/examples/evas/evas-map-utils.c2
-rw-r--r--src/examples/evas/evas-smart-interface.c4
29 files changed, 94 insertions, 94 deletions
diff --git a/src/examples/ecore/ecore_animator_example.c b/src/examples/ecore/ecore_animator_example.c
index eb9e151ce0..91c2aa328f 100644
--- a/src/examples/ecore/ecore_animator_example.c
+++ b/src/examples/ecore/ecore_animator_example.c
@@ -12,7 +12,7 @@ static Eina_Bool _freeze_third_anim(void *data);
12static Eina_Bool _thaw_third_anim(void *data); 12static Eina_Bool _thaw_third_anim(void *data);
13 13
14int 14int
15main(int argc, char *argv[]) 15main(void)
16{ 16{
17 Evas_Object *rect, *bg, *rect2; 17 Evas_Object *rect, *bg, *rect2;
18 Ecore_Evas *ee; 18 Ecore_Evas *ee;
diff --git a/src/examples/ecore/ecore_client_bench.c b/src/examples/ecore/ecore_client_bench.c
index f4ef3ed615..3350aaea6d 100644
--- a/src/examples/ecore/ecore_client_bench.c
+++ b/src/examples/ecore/ecore_client_bench.c
@@ -16,7 +16,7 @@ static int add = 0;
16static int del = 0; 16static int del = 0;
17 17
18Eina_Bool 18Eina_Bool
19_add(void *data, int type, Ecore_Con_Event_Server_Add *ev) 19_add(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Add *ev EINA_UNUSED)
20{ 20{
21 ++add; 21 ++add;
22 printf("Connection #%i!\n", add); 22 printf("Connection #%i!\n", add);
@@ -27,7 +27,7 @@ _add(void *data, int type, Ecore_Con_Event_Server_Add *ev)
27} 27}
28 28
29Eina_Bool 29Eina_Bool
30_del(void *data, int type, Ecore_Con_Event_Server_Add *ev) 30_del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Add *ev EINA_UNUSED)
31{ 31{
32 ++del; 32 ++del;
33 printf("Connection lost! #%i!\n", del); 33 printf("Connection lost! #%i!\n", del);
@@ -36,7 +36,7 @@ _del(void *data, int type, Ecore_Con_Event_Server_Add *ev)
36} 36}
37 37
38static void 38static void
39_spawn(void *data) 39_spawn(void *data EINA_UNUSED)
40{ 40{
41 int x; 41 int x;
42 42
diff --git a/src/examples/ecore/ecore_con_client_example.c b/src/examples/ecore/ecore_con_client_example.c
index 580289fc29..24c04847f1 100644
--- a/src/examples/ecore/ecore_con_client_example.c
+++ b/src/examples/ecore/ecore_con_client_example.c
@@ -24,7 +24,7 @@ tls_log_func(int level, const char *str)
24#endif 24#endif
25 25
26Eina_Bool 26Eina_Bool
27_add(void *data, int type, Ecore_Con_Event_Server_Add *ev) 27_add(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Add *ev)
28{ 28{
29 printf("Server with ip %s connected!\n", ecore_con_server_ip_get(ev->server)); 29 printf("Server with ip %s connected!\n", ecore_con_server_ip_get(ev->server));
30 ecore_con_server_send(ev->server, "hello!", 6); 30 ecore_con_server_send(ev->server, "hello!", 6);
@@ -34,7 +34,7 @@ _add(void *data, int type, Ecore_Con_Event_Server_Add *ev)
34} 34}
35 35
36Eina_Bool 36Eina_Bool
37_del(void *data, int type, Ecore_Con_Event_Server_Del *ev) 37_del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Del *ev)
38{ 38{
39 printf("Lost server with ip %s!\n", ecore_con_server_ip_get(ev->server)); 39 printf("Lost server with ip %s!\n", ecore_con_server_ip_get(ev->server));
40 ecore_main_loop_quit(); 40 ecore_main_loop_quit();
@@ -42,7 +42,7 @@ _del(void *data, int type, Ecore_Con_Event_Server_Del *ev)
42} 42}
43 43
44Eina_Bool 44Eina_Bool
45_data(void *data, int type, Ecore_Con_Event_Server_Data *ev) 45_data(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server_Data *ev)
46{ 46{
47 char fmt[128]; 47 char fmt[128];
48 48
diff --git a/src/examples/ecore/ecore_con_lookup_example.c b/src/examples/ecore/ecore_con_lookup_example.c
index d81abf3a7d..41a001e426 100644
--- a/src/examples/ecore/ecore_con_lookup_example.c
+++ b/src/examples/ecore/ecore_con_lookup_example.c
@@ -6,7 +6,7 @@
6#include <Ecore_Con.h> 6#include <Ecore_Con.h>
7 7
8static void 8static void
9_lookup_done_cb(const char *canonname, const char *ip, struct sockaddr *addr, int addrlen, void *data) 9_lookup_done_cb(const char *canonname, const char *ip, struct sockaddr *addr, int addrlen, void *data EINA_UNUSED)
10{ 10{
11 printf("canonname = %s\n", canonname); 11 printf("canonname = %s\n", canonname);
12 printf("ip = %s\n", ip); 12 printf("ip = %s\n", ip);
diff --git a/src/examples/ecore/ecore_con_server_example.c b/src/examples/ecore/ecore_con_server_example.c
index da63d28a5e..e835ab079e 100644
--- a/src/examples/ecore/ecore_con_server_example.c
+++ b/src/examples/ecore/ecore_con_server_example.c
@@ -24,7 +24,7 @@ tls_log_func(int level, const char *str)
24#endif 24#endif
25 25
26Eina_Bool 26Eina_Bool
27_add(void *data, int type, Ecore_Con_Event_Client_Add *ev) 27_add(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Add *ev)
28{ 28{
29 printf("Client with ip %s connected!\n", ecore_con_client_ip_get(ev->client)); 29 printf("Client with ip %s connected!\n", ecore_con_client_ip_get(ev->client));
30 ecore_con_client_send(ev->client, "hello!", 6); 30 ecore_con_client_send(ev->client, "hello!", 6);
@@ -35,7 +35,7 @@ _add(void *data, int type, Ecore_Con_Event_Client_Add *ev)
35} 35}
36 36
37Eina_Bool 37Eina_Bool
38_del(void *data, int type, Ecore_Con_Event_Client_Del *ev) 38_del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Del *ev)
39{ 39{
40 printf("Lost client with ip %s!\n", ecore_con_client_ip_get(ev->client)); 40 printf("Lost client with ip %s!\n", ecore_con_client_ip_get(ev->client));
41 ecore_main_loop_quit(); 41 ecore_main_loop_quit();
@@ -43,7 +43,7 @@ _del(void *data, int type, Ecore_Con_Event_Client_Del *ev)
43} 43}
44 44
45Eina_Bool 45Eina_Bool
46_data(void *data, int type, Ecore_Con_Event_Client_Data *ev) 46_data(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Data *ev)
47{ 47{
48 char fmt[128]; 48 char fmt[128];
49 49
diff --git a/src/examples/ecore/ecore_con_url_download_example.c b/src/examples/ecore/ecore_con_url_download_example.c
index 2723cc8d5e..429a9a20f8 100644
--- a/src/examples/ecore/ecore_con_url_download_example.c
+++ b/src/examples/ecore/ecore_con_url_download_example.c
@@ -16,7 +16,7 @@ struct _request
16}; 16};
17 17
18static Eina_Bool 18static Eina_Bool
19_url_progress_cb(void *data, int type, void *event_info) 19_url_progress_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
20{ 20{
21 Ecore_Con_Event_Url_Progress *url_progress = event_info; 21 Ecore_Con_Event_Url_Progress *url_progress = event_info;
22 float percent; 22 float percent;
@@ -35,7 +35,7 @@ _url_progress_cb(void *data, int type, void *event_info)
35} 35}
36 36
37static Eina_Bool 37static Eina_Bool
38_url_complete_cb(void *data, int type, void *event_info) 38_url_complete_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
39{ 39{
40 Ecore_Con_Event_Url_Complete *url_complete = event_info; 40 Ecore_Con_Event_Url_Complete *url_complete = event_info;
41 41
diff --git a/src/examples/ecore/ecore_con_url_headers_example.c b/src/examples/ecore/ecore_con_url_headers_example.c
index 0911c68ace..656743f0cd 100644
--- a/src/examples/ecore/ecore_con_url_headers_example.c
+++ b/src/examples/ecore/ecore_con_url_headers_example.c
@@ -7,7 +7,7 @@
7#include <Ecore_Con.h> 7#include <Ecore_Con.h>
8 8
9static Eina_Bool 9static Eina_Bool
10_url_data_cb(void *data, int type, void *event_info) 10_url_data_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
11{ 11{
12 Ecore_Con_Event_Url_Data *url_data = event_info; 12 Ecore_Con_Event_Url_Data *url_data = event_info;
13 int i; 13 int i;
@@ -19,7 +19,7 @@ _url_data_cb(void *data, int type, void *event_info)
19} 19}
20 20
21static Eina_Bool 21static Eina_Bool
22_url_complete_cb(void *data, int type, void *event_info) 22_url_complete_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
23{ 23{
24 Ecore_Con_Event_Url_Complete *url_complete = event_info; 24 Ecore_Con_Event_Url_Complete *url_complete = event_info;
25 const Eina_List *headers, *l; 25 const Eina_List *headers, *l;
diff --git a/src/examples/ecore/ecore_evas_basics_example.c b/src/examples/ecore/ecore_evas_basics_example.c
index b6fb94a2d3..f87c8220f6 100644
--- a/src/examples/ecore/ecore_evas_basics_example.c
+++ b/src/examples/ecore/ecore_evas_basics_example.c
@@ -14,7 +14,7 @@
14#include <unistd.h> 14#include <unistd.h>
15 15
16static Eina_Bool 16static Eina_Bool
17_stdin_cb(void *data, Ecore_Fd_Handler *handler) 17_stdin_cb(void *data EINA_UNUSED, Ecore_Fd_Handler *handler EINA_UNUSED)
18{ 18{
19 Eina_List *l; 19 Eina_List *l;
20 Ecore_Evas *ee; 20 Ecore_Evas *ee;
diff --git a/src/examples/ecore/ecore_evas_callbacks.c b/src/examples/ecore/ecore_evas_callbacks.c
index ce6c1f7c6d..eafde49b41 100644
--- a/src/examples/ecore/ecore_evas_callbacks.c
+++ b/src/examples/ecore/ecore_evas_callbacks.c
@@ -13,81 +13,81 @@
13#include <Ecore_Evas.h> 13#include <Ecore_Evas.h>
14 14
15static void 15static void
16_destroy(Ecore_Evas *ee) 16_destroy(Ecore_Evas *ee EINA_UNUSED)
17{ 17{
18 printf("destroy\n"); 18 printf("destroy\n");
19 ecore_main_loop_quit(); 19 ecore_main_loop_quit();
20} 20}
21 21
22static void 22static void
23_delete(Ecore_Evas *ee) 23_delete(Ecore_Evas *ee EINA_UNUSED)
24{ 24{
25 printf("delete\n"); 25 printf("delete\n");
26 ecore_main_loop_quit(); 26 ecore_main_loop_quit();
27} 27}
28 28
29static void 29static void
30_focus_in(Ecore_Evas *ee) 30_focus_in(Ecore_Evas *ee EINA_UNUSED)
31{ 31{
32 printf("focus_in\n"); 32 printf("focus_in\n");
33} 33}
34 34
35static void 35static void
36_focus_out(Ecore_Evas *ee) 36_focus_out(Ecore_Evas *ee EINA_UNUSED)
37{ 37{
38 printf("focus_out\n"); 38 printf("focus_out\n");
39} 39}
40 40
41static void 41static void
42_hide(Ecore_Evas *ee) 42_hide(Ecore_Evas *ee EINA_UNUSED)
43{ 43{
44 printf("hide\n"); 44 printf("hide\n");
45} 45}
46 46
47static void 47static void
48_mouse_in(Ecore_Evas *ee) 48_mouse_in(Ecore_Evas *ee EINA_UNUSED)
49{ 49{
50 printf("mouse_in\n"); 50 printf("mouse_in\n");
51} 51}
52 52
53static void 53static void
54_show(Ecore_Evas *ee) 54_show(Ecore_Evas *ee EINA_UNUSED)
55{ 55{
56 printf("show\n"); 56 printf("show\n");
57} 57}
58 58
59static void 59static void
60_mouse_out(Ecore_Evas *ee) 60_mouse_out(Ecore_Evas *ee EINA_UNUSED)
61{ 61{
62 printf("mouse_out\n"); 62 printf("mouse_out\n");
63} 63}
64 64
65static void 65static void
66_move(Ecore_Evas *ee) 66_move(Ecore_Evas *ee EINA_UNUSED)
67{ 67{
68 printf("move\n"); 68 printf("move\n");
69} 69}
70 70
71static void 71static void
72_post_render(Ecore_Evas *ee) 72_post_render(Ecore_Evas *ee EINA_UNUSED)
73{ 73{
74 printf("post_render\n"); 74 printf("post_render\n");
75} 75}
76 76
77static void 77static void
78_pre_free(Ecore_Evas *ee) 78_pre_free(Ecore_Evas *ee EINA_UNUSED)
79{ 79{
80 printf("pre_free\n"); 80 printf("pre_free\n");
81} 81}
82 82
83static void 83static void
84_pre_render(Ecore_Evas *ee) 84_pre_render(Ecore_Evas *ee EINA_UNUSED)
85{ 85{
86 printf("pre_render\n"); 86 printf("pre_render\n");
87} 87}
88 88
89static void 89static void
90_resize(Ecore_Evas *ee) 90_resize(Ecore_Evas *ee EINA_UNUSED)
91{ 91{
92 printf("resize\n"); 92 printf("resize\n");
93} 93}
@@ -97,7 +97,7 @@ main(void)
97{ 97{
98 Ecore_Evas *ee; 98 Ecore_Evas *ee;
99 Evas_Object *bg; 99 Evas_Object *bg;
100 100
101 ecore_evas_init(); 101 ecore_evas_init();
102 102
103 ee = ecore_evas_new(NULL, 0, 0, 200, 100, NULL); 103 ee = ecore_evas_new(NULL, 0, 0, 200, 100, NULL);
@@ -108,7 +108,7 @@ main(void)
108 evas_object_color_set(bg, 255, 128, 0, 255); 108 evas_object_color_set(bg, 255, 128, 0, 255);
109 evas_object_resize(bg, 9999, 9999); 109 evas_object_resize(bg, 9999, 9999);
110 evas_object_show(bg); 110 evas_object_show(bg);
111 111
112 //callbacks 112 //callbacks
113 ecore_evas_callback_delete_request_set(ee, _delete); 113 ecore_evas_callback_delete_request_set(ee, _delete);
114 ecore_evas_callback_destroy_set(ee, _destroy); 114 ecore_evas_callback_destroy_set(ee, _destroy);
diff --git a/src/examples/ecore/ecore_evas_ews_example.c b/src/examples/ecore/ecore_evas_ews_example.c
index 07c0a238b1..a8af178dde 100644
--- a/src/examples/ecore/ecore_evas_ews_example.c
+++ b/src/examples/ecore/ecore_evas_ews_example.c
@@ -16,7 +16,7 @@
16#include <ctype.h> 16#include <ctype.h>
17 17
18static Eina_Bool 18static Eina_Bool
19_wm_win_add(void *data, int type, void *event_info) 19_wm_win_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
20{ 20{
21 Ecore_Evas *ee = event_info; 21 Ecore_Evas *ee = event_info;
22 printf("WM: new window=%p\n", ee); 22 printf("WM: new window=%p\n", ee);
@@ -24,7 +24,7 @@ _wm_win_add(void *data, int type, void *event_info)
24} 24}
25 25
26static Eina_Bool 26static Eina_Bool
27_wm_win_move(void *data, int type, void *event_info) 27_wm_win_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
28{ 28{
29 Ecore_Evas *ee = event_info; 29 Ecore_Evas *ee = event_info;
30 int x, y; 30 int x, y;
@@ -34,7 +34,7 @@ _wm_win_move(void *data, int type, void *event_info)
34} 34}
35 35
36static Eina_Bool 36static Eina_Bool
37_wm_win_resize(void *data, int type, void *event_info) 37_wm_win_resize(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
38{ 38{
39 Ecore_Evas *ee = event_info; 39 Ecore_Evas *ee = event_info;
40 int w, h; 40 int w, h;
@@ -44,7 +44,7 @@ _wm_win_resize(void *data, int type, void *event_info)
44} 44}
45 45
46static Eina_Bool 46static Eina_Bool
47_wm_win_show(void *data, int type, void *event_info) 47_wm_win_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
48{ 48{
49 Ecore_Evas *ee = event_info; 49 Ecore_Evas *ee = event_info;
50 printf("WM: show window=%p\n", ee); 50 printf("WM: show window=%p\n", ee);
@@ -78,7 +78,7 @@ optional_ews_setup(void)
78} 78}
79 79
80static Eina_Bool 80static Eina_Bool
81_stdin_cb(void *data, Ecore_Fd_Handler *handler) 81_stdin_cb(void *data EINA_UNUSED, Ecore_Fd_Handler *handler EINA_UNUSED)
82{ 82{
83 const Eina_List *l; 83 const Eina_List *l;
84 Ecore_Evas *ee; 84 Ecore_Evas *ee;
diff --git a/src/examples/ecore/ecore_event_example_01.c b/src/examples/ecore/ecore_event_example_01.c
index 840f051948..f354415f91 100644
--- a/src/examples/ecore/ecore_event_example_01.c
+++ b/src/examples/ecore/ecore_event_example_01.c
@@ -4,7 +4,7 @@
4#include <Ecore.h> 4#include <Ecore.h>
5 5
6static Eina_Bool 6static Eina_Bool
7_quitter(void *data, int ev_type, void *event) 7_quitter(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event EINA_UNUSED)
8{ 8{
9 printf("Leaving already?\n"); 9 printf("Leaving already?\n");
10 ecore_main_loop_quit(); 10 ecore_main_loop_quit();
@@ -12,7 +12,7 @@ _quitter(void *data, int ev_type, void *event)
12} 12}
13 13
14int 14int
15main(int argc, char **argv) 15main(void)
16{ 16{
17 ecore_init(); 17 ecore_init();
18 18
diff --git a/src/examples/ecore/ecore_event_example_02.c b/src/examples/ecore/ecore_event_example_02.c
index 503f6141fa..b1c771ceb4 100644
--- a/src/examples/ecore/ecore_event_example_02.c
+++ b/src/examples/ecore/ecore_event_example_02.c
@@ -14,7 +14,7 @@ struct context // helper struct to give some context to the callbacks
14static int _event_type = 0; // a new type of event will be defined and stored here 14static int _event_type = 0; // a new type of event will be defined and stored here
15 15
16static Eina_Bool 16static Eina_Bool
17_event_handler1_cb(void *data, int type, void *event) 17_event_handler1_cb(void *data, int type EINA_UNUSED, void *event)
18{ 18{
19 int *number = event; 19 int *number = event;
20 const char *str = data; 20 const char *str = data;
@@ -28,7 +28,7 @@ _event_handler1_cb(void *data, int type, void *event)
28} 28}
29 29
30static Eina_Bool 30static Eina_Bool
31_event_handler2_cb(void *data, int type, void *event) // event callback 31_event_handler2_cb(void *data, int type EINA_UNUSED, void *event) // event callback
32{ 32{
33 struct context *ctxt = data; 33 struct context *ctxt = data;
34 int *number = event; 34 int *number = event;
@@ -52,7 +52,7 @@ _event_handler2_cb(void *data, int type, void *event) // event callback
52} 52}
53 53
54int 54int
55main(int argc, char **argv) 55main(void)
56{ 56{
57 struct context ctxt = {0}; 57 struct context ctxt = {0};
58 int i; 58 int i;
diff --git a/src/examples/ecore/ecore_exe_example.c b/src/examples/ecore/ecore_exe_example.c
index 8d0dedc846..e58ac831cd 100644
--- a/src/examples/ecore/ecore_exe_example.c
+++ b/src/examples/ecore/ecore_exe_example.c
@@ -9,7 +9,7 @@
9#define BUFFER_SIZE 1024 9#define BUFFER_SIZE 1024
10 10
11static Eina_Bool 11static Eina_Bool
12_msg_from_child_handler(void *data, int type, void *event) 12_msg_from_child_handler(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
13{ 13{
14 Ecore_Exe_Event_Data *dataFromProcess = (Ecore_Exe_Event_Data *)event; 14 Ecore_Exe_Event_Data *dataFromProcess = (Ecore_Exe_Event_Data *)event;
15 char msg[BUFFER_SIZE]; 15 char msg[BUFFER_SIZE];
@@ -19,10 +19,10 @@ _msg_from_child_handler(void *data, int type, void *event)
19 fprintf(stdout, "Data too big for bugger. error\n"); 19 fprintf(stdout, "Data too big for bugger. error\n");
20 return ECORE_CALLBACK_DONE; 20 return ECORE_CALLBACK_DONE;
21 } 21 }
22 22
23 strncpy(msg, dataFromProcess->data, dataFromProcess->size); 23 strncpy(msg, dataFromProcess->data, dataFromProcess->size);
24 msg[dataFromProcess->size] = 0; 24 msg[dataFromProcess->size] = 0;
25 25
26 if (strcmp(msg, "quit") == 0) 26 if (strcmp(msg, "quit") == 0)
27 { 27 {
28 fprintf(stdout, "My child said to me, QUIT!\n"); 28 fprintf(stdout, "My child said to me, QUIT!\n");
@@ -54,7 +54,7 @@ _sendMessage(void *data)
54} 54}
55 55
56int 56int
57main(int argc, char **argv) 57main(void)
58{ 58{
59 pid_t childPid; 59 pid_t childPid;
60 Ecore_Exe *childHandle; 60 Ecore_Exe *childHandle;
diff --git a/src/examples/ecore/ecore_exe_example_child.c b/src/examples/ecore/ecore_exe_example_child.c
index efe97fb111..f98d8fe7fd 100644
--- a/src/examples/ecore/ecore_exe_example_child.c
+++ b/src/examples/ecore/ecore_exe_example_child.c
@@ -9,8 +9,7 @@
9#define BUFFER_SIZE 1024 9#define BUFFER_SIZE 1024
10 10
11static Eina_Bool 11static Eina_Bool
12_fd_handler_cb(void *data, Ecore_Fd_Handler 12_fd_handler_cb(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
13 *fd_handler)
14{ 13{
15 static int numberOfMessages = 0; 14 static int numberOfMessages = 0;
16 char message[BUFFER_SIZE]; 15 char message[BUFFER_SIZE];
@@ -36,7 +35,7 @@ _fd_handler_cb(void *data, Ecore_Fd_Handler
36} 35}
37 36
38int 37int
39main(int argc, char **argv) 38main(void)
40{ 39{
41 if (!ecore_init()) 40 if (!ecore_init())
42 goto error; 41 goto error;
diff --git a/src/examples/ecore/ecore_fd_handler_example.c b/src/examples/ecore/ecore_fd_handler_example.c
index b999dc322e..f842c34873 100644
--- a/src/examples/ecore/ecore_fd_handler_example.c
+++ b/src/examples/ecore/ecore_fd_handler_example.c
@@ -12,7 +12,7 @@ struct context
12}; 12};
13 13
14static void 14static void
15_fd_prepare_cb(void *data, Ecore_Fd_Handler *handler) 15_fd_prepare_cb(void *data EINA_UNUSED, Ecore_Fd_Handler *handler EINA_UNUSED)
16{ 16{
17 printf("prepare_cb called.\n"); 17 printf("prepare_cb called.\n");
18} 18}
@@ -50,7 +50,7 @@ _fd_handler_cb(void *data, Ecore_Fd_Handler *handler)
50} 50}
51 51
52static Eina_Bool 52static Eina_Bool
53_timer_cb(void *data) 53_timer_cb(void *data EINA_UNUSED)
54{ 54{
55 printf("Timer expired after 5 seconds...\n"); 55 printf("Timer expired after 5 seconds...\n");
56 56
@@ -58,7 +58,7 @@ _timer_cb(void *data)
58} 58}
59 59
60int 60int
61main(int argc, char **argv) 61main(void)
62{ 62{
63 struct context ctxt = {0}; 63 struct context ctxt = {0};
64 64
diff --git a/src/examples/ecore/ecore_file_download_example.c b/src/examples/ecore/ecore_file_download_example.c
index e44c7e7312..a938336830 100644
--- a/src/examples/ecore/ecore_file_download_example.c
+++ b/src/examples/ecore/ecore_file_download_example.c
@@ -20,16 +20,16 @@
20#define DST_MIME "[x-gzip]linux-1.0.tar.gz" 20#define DST_MIME "[x-gzip]linux-1.0.tar.gz"
21 21
22void 22void
23completion_cb(void *data, const char *file, int status) 23completion_cb(void *data EINA_UNUSED, const char *file EINA_UNUSED, int status)
24{ 24{
25 printf("Done (status: %d)\n", status); 25 printf("Done (status: %d)\n", status);
26 ecore_main_loop_quit(); 26 ecore_main_loop_quit();
27} 27}
28 28
29int 29int
30progress_cb(void *data, const char *file, 30progress_cb(void *data EINA_UNUSED, const char *file EINA_UNUSED,
31 long int dltotal, long int dlnow, 31 long int dltotal, long int dlnow,
32 long int ultotal, long int ulnow) 32 long int ultotal EINA_UNUSED, long int ulnow EINA_UNUSED)
33{ 33{
34 printf("Progress: %ld/%ld\n", dlnow, dltotal); 34 printf("Progress: %ld/%ld\n", dlnow, dltotal);
35 return ECORE_FILE_PROGRESS_CONTINUE; // continue the download 35 return ECORE_FILE_PROGRESS_CONTINUE; // continue the download
diff --git a/src/examples/ecore/ecore_idler_example.c b/src/examples/ecore/ecore_idler_example.c
index 6b640863aa..b33d86ff68 100644
--- a/src/examples/ecore/ecore_idler_example.c
+++ b/src/examples/ecore/ecore_idler_example.c
@@ -18,7 +18,7 @@ struct context // helper struct to give some context to the callbacks
18static int _event_type = 0; // a new type of event will be defined and stored here 18static int _event_type = 0; // a new type of event will be defined and stored here
19 19
20static Eina_Bool 20static Eina_Bool
21_enterer_cb(void *data) // the idle enterer callback 21_enterer_cb(void *data EINA_UNUSED) // the idle enterer callback
22{ 22{
23 printf("IDLE ENTERER: Ecore entering in idle state.\n"); 23 printf("IDLE ENTERER: Ecore entering in idle state.\n");
24 24
@@ -26,7 +26,7 @@ _enterer_cb(void *data) // the idle enterer callback
26} 26}
27 27
28static Eina_Bool 28static Eina_Bool
29_exiter_cb(void *data) // the idle exiter callback 29_exiter_cb(void *data EINA_UNUSED) // the idle exiter callback
30{ 30{
31 printf("IDLE EXITER: Ecore exiting idle state.\n"); 31 printf("IDLE EXITER: Ecore exiting idle state.\n");
32 32
@@ -50,7 +50,7 @@ _idler_cb(void *data) // the idler callback - ran while the mainloop is idle
50} 50}
51 51
52static Eina_Bool 52static Eina_Bool
53_event_handler_cb(void *data, int type, void *event) // event callback 53_event_handler_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED) // event callback
54{ 54{
55 struct context *ctxt = data; 55 struct context *ctxt = data;
56 56
@@ -92,7 +92,7 @@ _timer_cb(void *data)
92} 92}
93 93
94int 94int
95main(int argc, char **argv) 95main(void)
96{ 96{
97 struct context ctxt = {0}; 97 struct context ctxt = {0};
98 98
diff --git a/src/examples/ecore/ecore_imf_example.c b/src/examples/ecore/ecore_imf_example.c
index 14c3b877ec..60750373fd 100644
--- a/src/examples/ecore/ecore_imf_example.c
+++ b/src/examples/ecore/ecore_imf_example.c
@@ -33,7 +33,7 @@ struct _Entry
33static void _imf_cursor_info_set(Entry *en); 33static void _imf_cursor_info_set(Entry *en);
34 34
35static void 35static void
36_mouse_down_cb(void *data, Evas *e, Evas_Object *o, void *event_info) 36_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
37{ 37{
38 Entry *en = data; 38 Entry *en = data;
39 Evas_Event_Mouse_Down *ev = event_info; 39 Evas_Event_Mouse_Down *ev = event_info;
@@ -56,7 +56,7 @@ _mouse_down_cb(void *data, Evas *e, Evas_Object *o, void *event_info)
56} 56}
57 57
58static void 58static void
59_mouse_up_cb(void *data, Evas *e, Evas_Object *o, void *event_info) 59_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
60{ 60{
61 Entry *en = data; 61 Entry *en = data;
62 Evas_Event_Mouse_Up *ev = event_info; 62 Evas_Event_Mouse_Up *ev = event_info;
@@ -88,7 +88,7 @@ _mouse_up_cb(void *data, Evas *e, Evas_Object *o, void *event_info)
88} 88}
89 89
90static void 90static void
91_entry_focus_in_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) 91_entry_focus_in_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
92{ 92{
93 Entry *en = data; 93 Entry *en = data;
94 if (!en) return; 94 if (!en) return;
@@ -101,7 +101,7 @@ _entry_focus_in_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
101} 101}
102 102
103static void 103static void
104_entry_focus_out_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) 104_entry_focus_out_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
105{ 105{
106 Entry *en = data; 106 Entry *en = data;
107 if (!en) return; 107 if (!en) return;
@@ -115,7 +115,7 @@ _entry_focus_out_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
115} 115}
116 116
117static void 117static void
118_canvas_focus_in_cb(void *data, Evas *e, void *event_info) 118_canvas_focus_in_cb(void *data EINA_UNUSED, Evas *e, void *event_info EINA_UNUSED)
119{ 119{
120 Entry *en; 120 Entry *en;
121 Evas_Object *obj = evas_focus_get(e); 121 Evas_Object *obj = evas_focus_get(e);
@@ -127,7 +127,7 @@ _canvas_focus_in_cb(void *data, Evas *e, void *event_info)
127} 127}
128 128
129static void 129static void
130_canvas_focus_out_cb(void *data, Evas *e, void *event_info) 130_canvas_focus_out_cb(void *data EINA_UNUSED, Evas *e, void *event_info EINA_UNUSED)
131{ 131{
132 Entry *en; 132 Entry *en;
133 Evas_Object *obj = evas_focus_get(e); 133 Evas_Object *obj = evas_focus_get(e);
@@ -188,7 +188,7 @@ _preedit_clear(Entry *en)
188} 188}
189 189
190static Eina_Bool 190static Eina_Bool
191_ecore_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx, char **text, int *cursor_pos) 191_ecore_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED, char **text, int *cursor_pos)
192{ 192{
193 // This callback will be called when the Input Method Context module requests the surrounding context. 193 // This callback will be called when the Input Method Context module requests the surrounding context.
194 Entry *en = data; 194 Entry *en = data;
@@ -209,7 +209,7 @@ _ecore_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx, char **te
209} 209}
210 210
211static void 211static void
212_ecore_imf_event_delete_surrounding_cb(void *data, Ecore_IMF_Context *ctx, void *event_info) 212_ecore_imf_event_delete_surrounding_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED, void *event_info)
213{ 213{
214 // called when the input method needs to delete all or part of the context surrounding the cursor 214 // called when the input method needs to delete all or part of the context surrounding the cursor
215 Entry *en = data; 215 Entry *en = data;
@@ -238,7 +238,7 @@ _ecore_imf_event_delete_surrounding_cb(void *data, Ecore_IMF_Context *ctx, void
238} 238}
239 239
240static void 240static void
241_ecore_imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx, void *event_info) 241_ecore_imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx EINA_UNUSED, void *event_info)
242{ 242{
243 Entry *en = data; 243 Entry *en = data;
244 char *commit_str = (char *)event_info; 244 char *commit_str = (char *)event_info;
@@ -260,7 +260,7 @@ _ecore_imf_event_commit_cb(void *data, Ecore_IMF_Context *ctx, void *event_info)
260} 260}
261 261
262static void 262static void
263_ecore_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx, void *event_info) 263_ecore_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx, void *event_info EINA_UNUSED)
264{ 264{
265 // example how to get preedit string 265 // example how to get preedit string
266 Entry *en = data; 266 Entry *en = data;
@@ -345,7 +345,7 @@ _ecore_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx, void *ev
345} 345}
346 346
347static void 347static void
348_key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) 348_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
349{ 349{
350 Entry *en = data; 350 Entry *en = data;
351 Evas_Event_Key_Down *ev = event_info; 351 Evas_Event_Key_Down *ev = event_info;
@@ -434,7 +434,7 @@ _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
434} 434}
435 435
436static void 436static void
437_key_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) 437_key_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info)
438{ 438{
439 Entry *en = data; 439 Entry *en = data;
440 Evas_Event_Key_Up *ev = event_info; 440 Evas_Event_Key_Up *ev = event_info;
@@ -573,7 +573,7 @@ delete_input_field(Entry *en)
573} 573}
574 574
575int 575int
576main(int argc, char *argv[]) 576main(void)
577{ 577{
578 Ecore_Evas *ee; 578 Ecore_Evas *ee;
579 Evas *evas; 579 Evas *evas;
diff --git a/src/examples/ecore/ecore_job_example.c b/src/examples/ecore/ecore_job_example.c
index 2621d7f1f5..541cadbc3c 100644
--- a/src/examples/ecore/ecore_job_example.c
+++ b/src/examples/ecore/ecore_job_example.c
@@ -13,13 +13,13 @@ _job_print_cb(void *data)
13} 13}
14 14
15static void 15static void
16_job_quit_cb(void *data) 16_job_quit_cb(void *data EINA_UNUSED)
17{ 17{
18 ecore_main_loop_quit(); 18 ecore_main_loop_quit();
19} 19}
20 20
21int 21int
22main(int argc, char **argv) 22main(void)
23{ 23{
24 Ecore_Job *job1, *job2, *job3, *job_quit; 24 Ecore_Job *job1, *job2, *job3, *job_quit;
25 char *str1 = "Job 1 started."; 25 char *str1 = "Job 1 started.";
@@ -49,5 +49,7 @@ main(int argc, char **argv)
49 49
50 ecore_main_loop_begin(); 50 ecore_main_loop_begin();
51 ecore_shutdown(); 51 ecore_shutdown();
52
53 return 0;
52} 54}
53 55
diff --git a/src/examples/ecore/ecore_pipe_simple_example.c b/src/examples/ecore/ecore_pipe_simple_example.c
index 4d56af4c85..e15c9250f7 100644
--- a/src/examples/ecore/ecore_pipe_simple_example.c
+++ b/src/examples/ecore/ecore_pipe_simple_example.c
@@ -22,7 +22,7 @@ do_lengthy_task(Ecore_Pipe *pipe)
22} 22}
23 23
24static void 24static void
25handler(void *data, void *buf, unsigned int len) 25handler(void *data EINA_UNUSED, void *buf, unsigned int len)
26{ 26{
27 char *str = malloc(sizeof(char) * len + 1); 27 char *str = malloc(sizeof(char) * len + 1);
28 memcpy(str, buf, len); 28 memcpy(str, buf, len);
@@ -38,7 +38,7 @@ handler(void *data, void *buf, unsigned int len)
38} 38}
39 39
40int 40int
41main(int argc, char *argv[]) 41main(void)
42{ 42{
43 Ecore_Pipe *pipe; 43 Ecore_Pipe *pipe;
44 pid_t child_pid; 44 pid_t child_pid;
diff --git a/src/examples/ecore/ecore_poller_example.c b/src/examples/ecore/ecore_poller_example.c
index 132cb06f41..d0e896c7f5 100644
--- a/src/examples/ecore/ecore_poller_example.c
+++ b/src/examples/ecore/ecore_poller_example.c
@@ -18,7 +18,7 @@ _poller_print_cb(void *data)
18} 18}
19 19
20static Eina_Bool 20static Eina_Bool
21_poller_quit_cb(void *data) 21_poller_quit_cb(void *data EINA_UNUSED)
22{ 22{
23 23
24 ecore_main_loop_quit(); 24 ecore_main_loop_quit();
@@ -26,7 +26,7 @@ _poller_quit_cb(void *data)
26} 26}
27 27
28int 28int
29main(int argc, char **argv) 29main(void)
30{ 30{
31 double interval = 0.3; // tick each 0.3 seconds 31 double interval = 0.3; // tick each 0.3 seconds
32 Ecore_Poller *poller1, *poller2, *poller3; 32 Ecore_Poller *poller1, *poller2, *poller3;
diff --git a/src/examples/ecore/ecore_server_bench.c b/src/examples/ecore/ecore_server_bench.c
index 8c5961ef88..b921c372b8 100644
--- a/src/examples/ecore/ecore_server_bench.c
+++ b/src/examples/ecore/ecore_server_bench.c
@@ -14,7 +14,7 @@ static int add;
14static int del; 14static int del;
15 15
16Eina_Bool 16Eina_Bool
17_add(void *data, int type, Ecore_Con_Event_Client_Add *ev) 17_add(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Add *ev EINA_UNUSED)
18{ 18{
19 ++add; 19 ++add;
20// printf ("%s ", ecore_con_client_ip_get(ev->client)); 20// printf ("%s ", ecore_con_client_ip_get(ev->client));
@@ -23,7 +23,7 @@ _add(void *data, int type, Ecore_Con_Event_Client_Add *ev)
23} 23}
24 24
25Eina_Bool 25Eina_Bool
26_del(void *data, int type, Ecore_Con_Event_Client_Del *ev) 26_del(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Client_Del *ev EINA_UNUSED)
27{ 27{
28 ++del; 28 ++del;
29 printf("Disconnected #%i!\n", del); 29 printf("Disconnected #%i!\n", del);
diff --git a/src/examples/ecore/ecore_thread_example.c b/src/examples/ecore/ecore_thread_example.c
index 74cf386a50..ad7b018c59 100644
--- a/src/examples/ecore/ecore_thread_example.c
+++ b/src/examples/ecore/ecore_thread_example.c
@@ -51,7 +51,7 @@ _local_data_free(void *data)
51} 51}
52 52
53static void 53static void
54_short_job(void *data, Ecore_Thread *th) 54_short_job(void *data EINA_UNUSED, Ecore_Thread *th)
55{ 55{
56 Thread_Data *td; 56 Thread_Data *td;
57 int i; 57 int i;
@@ -86,7 +86,7 @@ _short_job(void *data, Ecore_Thread *th)
86} 86}
87 87
88static void 88static void
89_feedback_job(void *data, Ecore_Thread *th) 89_feedback_job(void *data EINA_UNUSED, Ecore_Thread *th)
90{ 90{
91 time_t t; 91 time_t t;
92 int i, count; 92 int i, count;
@@ -279,7 +279,7 @@ _cancel_timer_cb(void *data)
279} 279}
280 280
281static Eina_Bool 281static Eina_Bool
282_status_timer_cb(void *data) 282_status_timer_cb(void *data EINA_UNUSED)
283{ 283{
284 _print_status(); 284 _print_status();
285 285
@@ -416,4 +416,3 @@ main(int argc, char *argv[])
416 416
417 return 0; 417 return 0;
418} 418}
419
diff --git a/src/examples/ecore/ecore_time_functions_example.c b/src/examples/ecore/ecore_time_functions_example.c
index 3e7b703d38..c9020e93af 100644
--- a/src/examples/ecore/ecore_time_functions_example.c
+++ b/src/examples/ecore/ecore_time_functions_example.c
@@ -5,7 +5,7 @@
5#include <unistd.h> 5#include <unistd.h>
6 6
7static Eina_Bool 7static Eina_Bool
8_timer_cb(void *data) 8_timer_cb(void *data EINA_UNUSED)
9{ 9{
10 printf("ecore time: %0.3f\n", ecore_time_get()); 10 printf("ecore time: %0.3f\n", ecore_time_get());
11 printf("loop time: %0.3f\n", ecore_loop_time_get()); 11 printf("loop time: %0.3f\n", ecore_loop_time_get());
@@ -22,7 +22,7 @@ _timer_cb(void *data)
22} 22}
23 23
24int 24int
25main(int argc, char **argv) 25main(void)
26{ 26{
27 if (!ecore_init()) 27 if (!ecore_init())
28 { 28 {
diff --git a/src/examples/ecore/ecore_timer_example.c b/src/examples/ecore/ecore_timer_example.c
index 27d2958413..8edf09e295 100644
--- a/src/examples/ecore/ecore_timer_example.c
+++ b/src/examples/ecore/ecore_timer_example.c
@@ -36,7 +36,7 @@ _get_current_time(void)
36} 36}
37 37
38static Eina_Bool 38static Eina_Bool
39_timer1_cb(void *data) 39_timer1_cb(void *data EINA_UNUSED)
40{ 40{
41 printf("Timer1 expired after %0.3f seconds.\n", _get_current_time()); 41 printf("Timer1 expired after %0.3f seconds.\n", _get_current_time());
42 return ECORE_CALLBACK_RENEW; 42 return ECORE_CALLBACK_RENEW;
@@ -143,7 +143,7 @@ _timer6_cb(void *data)
143} 143}
144 144
145int 145int
146main(int argc, char **argv) 146main(void)
147{ 147{
148 struct context ctxt = {0}; 148 struct context ctxt = {0};
149 149
diff --git a/src/examples/eet/eet-data-file_descriptor_01.c b/src/examples/eet/eet-data-file_descriptor_01.c
index be43df93da..2972b812f7 100644
--- a/src/examples/eet/eet-data-file_descriptor_01.c
+++ b/src/examples/eet/eet-data-file_descriptor_01.c
@@ -247,10 +247,10 @@ _my_cache_new(void)
247} /* _my_cache_new */ 247} /* _my_cache_new */
248 248
249static Eina_Bool 249static Eina_Bool
250_my_cache_account_free_cb(const Eina_Hash *hash, 250_my_cache_account_free_cb(const Eina_Hash *hash EINA_UNUSED,
251 const void *key, 251 const void *key EINA_UNUSED,
252 void *data, 252 void *data,
253 void *fdata) 253 void *fdata EINA_UNUSED)
254{ 254{
255 _my_account_free(data); 255 _my_account_free(data);
256 return EINA_TRUE; 256 return EINA_TRUE;
diff --git a/src/examples/eina/eina_tiler_01.c b/src/examples/eina/eina_tiler_01.c
index 6202a88b14..83174b4327 100644
--- a/src/examples/eina/eina_tiler_01.c
+++ b/src/examples/eina/eina_tiler_01.c
@@ -158,7 +158,7 @@ add_output_rect(const Eina_Rectangle *r)
158} 158}
159 159
160static Eina_Bool 160static Eina_Bool
161process_input(void *data) 161process_input(void *data EINA_UNUSED)
162{ 162{
163 Eina_Iterator *itr; 163 Eina_Iterator *itr;
164 Eina_Rectangle r, *r1; 164 Eina_Rectangle r, *r1;
diff --git a/src/examples/evas/evas-map-utils.c b/src/examples/evas/evas-map-utils.c
index f4acf5bb6d..7f8b2526f8 100644
--- a/src/examples/evas/evas-map-utils.c
+++ b/src/examples/evas/evas-map-utils.c
@@ -163,7 +163,7 @@ _anim_cb(void *data)
163} 163}
164 164
165static void 165static void
166_on_keydown(void *data, Evas *e, Evas_Object *o, void *event) 166_on_keydown(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event)
167{ 167{
168 App_Data *ad = data; 168 App_Data *ad = data;
169 Evas_Event_Key_Down *ev = event; 169 Evas_Event_Key_Down *ev = event;
diff --git a/src/examples/evas/evas-smart-interface.c b/src/examples/evas/evas-smart-interface.c
index 39e24f3121..39b4021ffc 100644
--- a/src/examples/evas/evas-smart-interface.c
+++ b/src/examples/evas/evas-smart-interface.c
@@ -101,7 +101,7 @@ struct _Evas_Smart_Example_Interface
101static Evas_Smart_Example_Interface iface1; 101static Evas_Smart_Example_Interface iface1;
102 102
103static Eina_Bool 103static Eina_Bool
104_iface1_add(Evas_Object *obj) 104_iface1_add(Evas_Object *obj EINA_UNUSED)
105{ 105{
106 printf("iface1's add()!\n"); 106 printf("iface1's add()!\n");
107 107
@@ -117,7 +117,7 @@ _iface1_del(Evas_Object *obj)
117} 117}
118 118
119static void 119static void
120_iface1_custom_fn(Evas_Object *obj) 120_iface1_custom_fn(Evas_Object *obj EINA_UNUSED)
121{ 121{
122 printf("iface1's custom_fn()!\n"); 122 printf("iface1's custom_fn()!\n");
123} 123}