diff options
author | Daniel Juyung Seo <juyung.seo@samsung.com> | 2014-01-06 23:30:02 +0900 |
---|---|---|
committer | Daniel Juyung Seo <juyung.seo@samsung.com> | 2014-01-06 23:33:57 +0900 |
commit | 3f6cff6f98bf41a8df9b6f83bade24af2d75f482 (patch) | |
tree | 0e13d094abf59ca8e0305c990ff31af075462423 /src/modules | |
parent | f8a004e8bced2cf3142655c103629ec2df33443d (diff) |
elm: Changed __UNUSED__ to EINA_UNUSED.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/access_output/mod.c | 6 | ||||
-rw-r--r-- | src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c | 22 | ||||
-rw-r--r-- | src/modules/prefs/elm_button.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_check.c | 6 | ||||
-rw-r--r-- | src/modules/prefs/elm_datetime.c | 6 | ||||
-rw-r--r-- | src/modules/prefs/elm_entry.c | 12 | ||||
-rw-r--r-- | src/modules/prefs/elm_horizontal_box.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/elm_horizontal_frame.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/elm_label.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_separator.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_slider.c | 4 | ||||
-rw-r--r-- | src/modules/prefs/elm_spinner.c | 4 | ||||
-rw-r--r-- | src/modules/prefs/elm_swallow.c | 8 | ||||
-rw-r--r-- | src/modules/prefs/elm_vertical_box.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/elm_vertical_frame.c | 2 | ||||
-rw-r--r-- | src/modules/prefs/prefs_iface.c | 4 | ||||
-rw-r--r-- | src/modules/test_entry/mod.c | 4 | ||||
-rw-r--r-- | src/modules/test_map/mod.c | 10 |
18 files changed, 59 insertions, 59 deletions
diff --git a/src/modules/access_output/mod.c b/src/modules/access_output/mod.c index 4a9816e22..3f15f3292 100644 --- a/src/modules/access_output/mod.c +++ b/src/modules/access_output/mod.c | |||
@@ -17,7 +17,7 @@ static char *tmpf = NULL; | |||
17 | static int tmpfd = -1; | 17 | static int tmpfd = -1; |
18 | 18 | ||
19 | static Eina_Bool | 19 | static Eina_Bool |
20 | _exe_del(void *data __UNUSED__, int type __UNUSED__, void *event) | 20 | _exe_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) |
21 | { | 21 | { |
22 | Ecore_Exe_Event_Del *ev = event; | 22 | Ecore_Exe_Event_Del *ev = event; |
23 | 23 | ||
@@ -38,7 +38,7 @@ _exe_del(void *data __UNUSED__, int type __UNUSED__, void *event) | |||
38 | 38 | ||
39 | // module api funcs needed | 39 | // module api funcs needed |
40 | EAPI int | 40 | EAPI int |
41 | elm_modapi_init(void *m __UNUSED__) | 41 | elm_modapi_init(void *m EINA_UNUSED) |
42 | { | 42 | { |
43 | exe_exit_handler = | 43 | exe_exit_handler = |
44 | ecore_event_handler_add(ECORE_EXE_EVENT_DEL, | 44 | ecore_event_handler_add(ECORE_EXE_EVENT_DEL, |
@@ -47,7 +47,7 @@ elm_modapi_init(void *m __UNUSED__) | |||
47 | } | 47 | } |
48 | 48 | ||
49 | EAPI int | 49 | EAPI int |
50 | elm_modapi_shutdown(void *m __UNUSED__) | 50 | elm_modapi_shutdown(void *m EINA_UNUSED) |
51 | { | 51 | { |
52 | if (exe_exit_handler) | 52 | if (exe_exit_handler) |
53 | { | 53 | { |
diff --git a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c index 838440a94..ac744ae0e 100644 --- a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c +++ b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c | |||
@@ -27,13 +27,13 @@ struct _DiskItem_Data | |||
27 | }; | 27 | }; |
28 | 28 | ||
29 | static void | 29 | static void |
30 | _diskselector_item_free_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) | 30 | _diskselector_item_free_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) |
31 | { | 31 | { |
32 | if (data) free(data); | 32 | if (data) free(data); |
33 | } | 33 | } |
34 | 34 | ||
35 | static void | 35 | static void |
36 | _ctxpopup_dismissed_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__ ) | 36 | _ctxpopup_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED ) |
37 | { | 37 | { |
38 | Evas_Object *diskselector; | 38 | Evas_Object *diskselector; |
39 | 39 | ||
@@ -42,8 +42,8 @@ _ctxpopup_dismissed_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info | |||
42 | } | 42 | } |
43 | 43 | ||
44 | static void | 44 | static void |
45 | _datetime_resize_cb(void *data, Evas *e __UNUSED__,Evas_Object *obj __UNUSED__, | 45 | _datetime_resize_cb(void *data, Evas *e EINA_UNUSED,Evas_Object *obj EINA_UNUSED, |
46 | void *event_info __UNUSED__) | 46 | void *event_info EINA_UNUSED) |
47 | { | 47 | { |
48 | Ctxpopup_Module_Data *ctx_mod; | 48 | Ctxpopup_Module_Data *ctx_mod; |
49 | 49 | ||
@@ -54,8 +54,8 @@ _datetime_resize_cb(void *data, Evas *e __UNUSED__,Evas_Object *obj __UNUSED__, | |||
54 | } | 54 | } |
55 | 55 | ||
56 | static void | 56 | static void |
57 | _datetime_move_cb(void *data, Evas *e __UNUSED__,Evas_Object *obj __UNUSED__, | 57 | _datetime_move_cb(void *data, Evas *e EINA_UNUSED,Evas_Object *obj EINA_UNUSED, |
58 | void *event_info __UNUSED__) | 58 | void *event_info EINA_UNUSED) |
59 | { | 59 | { |
60 | Ctxpopup_Module_Data *ctx_mod; | 60 | Ctxpopup_Module_Data *ctx_mod; |
61 | 61 | ||
@@ -84,7 +84,7 @@ _field_value_get(struct tm *tim, Elm_Datetime_Field_Type field_type) | |||
84 | } | 84 | } |
85 | 85 | ||
86 | static void | 86 | static void |
87 | _diskselector_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) | 87 | _diskselector_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info) |
88 | { | 88 | { |
89 | DiskItem_Data *disk_data; | 89 | DiskItem_Data *disk_data; |
90 | struct tm curr_time; | 90 | struct tm curr_time; |
@@ -104,7 +104,7 @@ _diskselector_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event | |||
104 | } | 104 | } |
105 | 105 | ||
106 | static void | 106 | static void |
107 | _ampm_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) | 107 | _ampm_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) |
108 | { | 108 | { |
109 | Ctxpopup_Module_Data *ctx_mod; | 109 | Ctxpopup_Module_Data *ctx_mod; |
110 | struct tm curr_time; | 110 | struct tm curr_time; |
@@ -119,7 +119,7 @@ _ampm_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNU | |||
119 | } | 119 | } |
120 | 120 | ||
121 | static void | 121 | static void |
122 | _field_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__) | 122 | _field_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) |
123 | { | 123 | { |
124 | Ctxpopup_Module_Data *ctx_mod; | 124 | Ctxpopup_Module_Data *ctx_mod; |
125 | Evas_Object *diskselector; | 125 | Evas_Object *diskselector; |
@@ -369,13 +369,13 @@ obj_hide(Elm_Datetime_Module_Data *module_data) | |||
369 | 369 | ||
370 | // module api funcs needed | 370 | // module api funcs needed |
371 | EAPI int | 371 | EAPI int |
372 | elm_modapi_init(void *m __UNUSED__) | 372 | elm_modapi_init(void *m EINA_UNUSED) |
373 | { | 373 | { |
374 | return 1; // succeed always | 374 | return 1; // succeed always |
375 | } | 375 | } |
376 | 376 | ||
377 | EAPI int | 377 | EAPI int |
378 | elm_modapi_shutdown(void *m __UNUSED__) | 378 | elm_modapi_shutdown(void *m EINA_UNUSED) |
379 | { | 379 | { |
380 | return 1; // succeed always | 380 | return 1; // succeed always |
381 | } | 381 | } |
diff --git a/src/modules/prefs/elm_button.c b/src/modules/prefs/elm_button.c index 6e05ab644..53c03f3f9 100644 --- a/src/modules/prefs/elm_button.c +++ b/src/modules/prefs/elm_button.c | |||
@@ -11,7 +11,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
11 | static void | 11 | static void |
12 | _item_changed_cb(void *data, | 12 | _item_changed_cb(void *data, |
13 | Evas_Object *obj, | 13 | Evas_Object *obj, |
14 | void *event_info __UNUSED__) | 14 | void *event_info EINA_UNUSED) |
15 | { | 15 | { |
16 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 16 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
17 | 17 | ||
@@ -19,10 +19,10 @@ _item_changed_cb(void *data, | |||
19 | } | 19 | } |
20 | 20 | ||
21 | static Evas_Object * | 21 | static Evas_Object * |
22 | elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 22 | elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
23 | Evas_Object *prefs, | 23 | Evas_Object *prefs, |
24 | const Elm_Prefs_Item_Type type __UNUSED__, | 24 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
25 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 25 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
26 | Elm_Prefs_Item_Changed_Cb cb) | 26 | Elm_Prefs_Item_Changed_Cb cb) |
27 | { | 27 | { |
28 | Evas_Object *obj = elm_button_add(prefs); | 28 | Evas_Object *obj = elm_button_add(prefs); |
diff --git a/src/modules/prefs/elm_check.c b/src/modules/prefs/elm_check.c index a7f040f31..8940c3bbb 100644 --- a/src/modules/prefs/elm_check.c +++ b/src/modules/prefs/elm_check.c | |||
@@ -9,7 +9,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
9 | static void | 9 | static void |
10 | _item_changed_cb(void *data, | 10 | _item_changed_cb(void *data, |
11 | Evas_Object *obj, | 11 | Evas_Object *obj, |
12 | void *event_info __UNUSED__) | 12 | void *event_info EINA_UNUSED) |
13 | { | 13 | { |
14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
15 | 15 | ||
@@ -17,9 +17,9 @@ _item_changed_cb(void *data, | |||
17 | } | 17 | } |
18 | 18 | ||
19 | static Evas_Object * | 19 | static Evas_Object * |
20 | elm_prefs_check_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 20 | elm_prefs_check_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
21 | Evas_Object *prefs, | 21 | Evas_Object *prefs, |
22 | const Elm_Prefs_Item_Type type __UNUSED__, | 22 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
23 | const Elm_Prefs_Item_Spec spec, | 23 | const Elm_Prefs_Item_Spec spec, |
24 | Elm_Prefs_Item_Changed_Cb cb) | 24 | Elm_Prefs_Item_Changed_Cb cb) |
25 | { | 25 | { |
diff --git a/src/modules/prefs/elm_datetime.c b/src/modules/prefs/elm_datetime.c index 75f06091a..10cd219d5 100644 --- a/src/modules/prefs/elm_datetime.c +++ b/src/modules/prefs/elm_datetime.c | |||
@@ -9,7 +9,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
9 | static void | 9 | static void |
10 | _item_changed_cb(void *data, | 10 | _item_changed_cb(void *data, |
11 | Evas_Object *obj, | 11 | Evas_Object *obj, |
12 | void *event_info __UNUSED__) | 12 | void *event_info EINA_UNUSED) |
13 | { | 13 | { |
14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 14 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
15 | 15 | ||
@@ -17,9 +17,9 @@ _item_changed_cb(void *data, | |||
17 | } | 17 | } |
18 | 18 | ||
19 | static Evas_Object * | 19 | static Evas_Object * |
20 | elm_prefs_datetime_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 20 | elm_prefs_datetime_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
21 | Evas_Object *prefs, | 21 | Evas_Object *prefs, |
22 | const Elm_Prefs_Item_Type type __UNUSED__, | 22 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
23 | const Elm_Prefs_Item_Spec spec, | 23 | const Elm_Prefs_Item_Spec spec, |
24 | Elm_Prefs_Item_Changed_Cb cb) | 24 | Elm_Prefs_Item_Changed_Cb cb) |
25 | { | 25 | { |
diff --git a/src/modules/prefs/elm_entry.c b/src/modules/prefs/elm_entry.c index 8138bf826..6bbf9f8ca 100644 --- a/src/modules/prefs/elm_entry.c +++ b/src/modules/prefs/elm_entry.c | |||
@@ -96,7 +96,7 @@ mismatch: | |||
96 | static void | 96 | static void |
97 | _item_changed_cb(void *data, | 97 | _item_changed_cb(void *data, |
98 | Evas_Object *obj, | 98 | Evas_Object *obj, |
99 | void *event_info __UNUSED__) | 99 | void *event_info EINA_UNUSED) |
100 | { | 100 | { |
101 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 101 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
102 | 102 | ||
@@ -104,10 +104,10 @@ _item_changed_cb(void *data, | |||
104 | } | 104 | } |
105 | 105 | ||
106 | static void | 106 | static void |
107 | _entry_del_cb(void *data __UNUSED__, | 107 | _entry_del_cb(void *data EINA_UNUSED, |
108 | Evas *evas __UNUSED__, | 108 | Evas *evas EINA_UNUSED, |
109 | Evas_Object *obj, | 109 | Evas_Object *obj, |
110 | void *event_info __UNUSED__) | 110 | void *event_info EINA_UNUSED) |
111 | { | 111 | { |
112 | regex_t *regex; | 112 | regex_t *regex; |
113 | Ecore_Timer *timer; | 113 | Ecore_Timer *timer; |
@@ -125,7 +125,7 @@ _entry_del_cb(void *data __UNUSED__, | |||
125 | } | 125 | } |
126 | 126 | ||
127 | static Evas_Object * | 127 | static Evas_Object * |
128 | elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 128 | elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
129 | Evas_Object *prefs, | 129 | Evas_Object *prefs, |
130 | const Elm_Prefs_Item_Type type, | 130 | const Elm_Prefs_Item_Type type, |
131 | const Elm_Prefs_Item_Spec spec, | 131 | const Elm_Prefs_Item_Spec spec, |
@@ -263,7 +263,7 @@ elm_prefs_entry_editable_get(Evas_Object *obj) | |||
263 | } | 263 | } |
264 | 264 | ||
265 | static Eina_Bool | 265 | static Eina_Bool |
266 | elm_prefs_entry_expand_want(Evas_Object *obj __UNUSED__) | 266 | elm_prefs_entry_expand_want(Evas_Object *obj EINA_UNUSED) |
267 | { | 267 | { |
268 | return EINA_TRUE; | 268 | return EINA_TRUE; |
269 | } | 269 | } |
diff --git a/src/modules/prefs/elm_horizontal_box.c b/src/modules/prefs/elm_horizontal_box.c index 368490ded..5bf58b4f2 100644 --- a/src/modules/prefs/elm_horizontal_box.c +++ b/src/modules/prefs/elm_horizontal_box.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_horizontal_box_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_horizontal_box_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *obj = elm_box_add(prefs); | 7 | Evas_Object *obj = elm_box_add(prefs); |
diff --git a/src/modules/prefs/elm_horizontal_frame.c b/src/modules/prefs/elm_horizontal_frame.c index 9fe153ca4..b848e3dea 100644 --- a/src/modules/prefs/elm_horizontal_frame.c +++ b/src/modules/prefs/elm_horizontal_frame.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_horizontal_frame_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_horizontal_frame_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *bx, *obj = elm_frame_add(prefs); | 7 | Evas_Object *bx, *obj = elm_frame_add(prefs); |
diff --git a/src/modules/prefs/elm_label.c b/src/modules/prefs/elm_label.c index 1e321a342..8ea7e66a9 100644 --- a/src/modules/prefs/elm_label.c +++ b/src/modules/prefs/elm_label.c | |||
@@ -7,11 +7,11 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
7 | }; | 7 | }; |
8 | 8 | ||
9 | static Evas_Object * | 9 | static Evas_Object * |
10 | elm_prefs_label_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 10 | elm_prefs_label_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
11 | Evas_Object *prefs, | 11 | Evas_Object *prefs, |
12 | const Elm_Prefs_Item_Type type __UNUSED__, | 12 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
13 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 13 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
14 | Elm_Prefs_Item_Changed_Cb it_changed_cb __UNUSED__) | 14 | Elm_Prefs_Item_Changed_Cb it_changed_cb EINA_UNUSED) |
15 | { | 15 | { |
16 | Evas_Object *obj = elm_label_add(prefs); | 16 | Evas_Object *obj = elm_label_add(prefs); |
17 | 17 | ||
diff --git a/src/modules/prefs/elm_separator.c b/src/modules/prefs/elm_separator.c index ed5aa5bad..1d72a4b6a 100644 --- a/src/modules/prefs/elm_separator.c +++ b/src/modules/prefs/elm_separator.c | |||
@@ -7,11 +7,11 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
7 | }; | 7 | }; |
8 | 8 | ||
9 | static Evas_Object * | 9 | static Evas_Object * |
10 | elm_prefs_separator_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 10 | elm_prefs_separator_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
11 | Evas_Object *prefs, | 11 | Evas_Object *prefs, |
12 | const Elm_Prefs_Item_Type type __UNUSED__, | 12 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
13 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 13 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
14 | Elm_Prefs_Item_Changed_Cb cb __UNUSED__) | 14 | Elm_Prefs_Item_Changed_Cb cb EINA_UNUSED) |
15 | { | 15 | { |
16 | Evas_Object *obj = elm_separator_add(prefs); | 16 | Evas_Object *obj = elm_separator_add(prefs); |
17 | 17 | ||
diff --git a/src/modules/prefs/elm_slider.c b/src/modules/prefs/elm_slider.c index 06157f492..09515df89 100644 --- a/src/modules/prefs/elm_slider.c +++ b/src/modules/prefs/elm_slider.c | |||
@@ -10,7 +10,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
10 | static void | 10 | static void |
11 | _item_changed_cb(void *data, | 11 | _item_changed_cb(void *data, |
12 | Evas_Object *obj, | 12 | Evas_Object *obj, |
13 | void *event_info __UNUSED__) | 13 | void *event_info EINA_UNUSED) |
14 | { | 14 | { |
15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
16 | 16 | ||
@@ -18,7 +18,7 @@ _item_changed_cb(void *data, | |||
18 | } | 18 | } |
19 | 19 | ||
20 | static Evas_Object * | 20 | static Evas_Object * |
21 | elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 21 | elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
22 | Evas_Object *prefs, | 22 | Evas_Object *prefs, |
23 | const Elm_Prefs_Item_Type type, | 23 | const Elm_Prefs_Item_Type type, |
24 | const Elm_Prefs_Item_Spec spec, | 24 | const Elm_Prefs_Item_Spec spec, |
diff --git a/src/modules/prefs/elm_spinner.c b/src/modules/prefs/elm_spinner.c index 2317f9e0d..486dc9812 100644 --- a/src/modules/prefs/elm_spinner.c +++ b/src/modules/prefs/elm_spinner.c | |||
@@ -10,7 +10,7 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
10 | static void | 10 | static void |
11 | _item_changed_cb(void *data, | 11 | _item_changed_cb(void *data, |
12 | Evas_Object *obj, | 12 | Evas_Object *obj, |
13 | void *event_info __UNUSED__) | 13 | void *event_info EINA_UNUSED) |
14 | { | 14 | { |
15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; | 15 | Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data; |
16 | 16 | ||
@@ -18,7 +18,7 @@ _item_changed_cb(void *data, | |||
18 | } | 18 | } |
19 | 19 | ||
20 | static Evas_Object * | 20 | static Evas_Object * |
21 | elm_prefs_spinner_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 21 | elm_prefs_spinner_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
22 | Evas_Object *prefs, | 22 | Evas_Object *prefs, |
23 | const Elm_Prefs_Item_Type type, | 23 | const Elm_Prefs_Item_Type type, |
24 | const Elm_Prefs_Item_Spec spec, | 24 | const Elm_Prefs_Item_Spec spec, |
diff --git a/src/modules/prefs/elm_swallow.c b/src/modules/prefs/elm_swallow.c index b8bc8b59a..0fd738cf8 100644 --- a/src/modules/prefs/elm_swallow.c +++ b/src/modules/prefs/elm_swallow.c | |||
@@ -12,11 +12,11 @@ static Elm_Prefs_Item_Type supported_types[] = | |||
12 | }; | 12 | }; |
13 | 13 | ||
14 | static Evas_Object * | 14 | static Evas_Object * |
15 | elm_prefs_swallow_add(const Elm_Prefs_Item_Iface *iface __UNUSED__, | 15 | elm_prefs_swallow_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED, |
16 | Evas_Object *prefs, | 16 | Evas_Object *prefs, |
17 | const Elm_Prefs_Item_Type type __UNUSED__, | 17 | const Elm_Prefs_Item_Type type EINA_UNUSED, |
18 | const Elm_Prefs_Item_Spec spec __UNUSED__, | 18 | const Elm_Prefs_Item_Spec spec EINA_UNUSED, |
19 | Elm_Prefs_Item_Changed_Cb cb __UNUSED__) | 19 | Elm_Prefs_Item_Changed_Cb cb EINA_UNUSED) |
20 | { | 20 | { |
21 | Evas_Object *obj = elm_layout_add(prefs); | 21 | Evas_Object *obj = elm_layout_add(prefs); |
22 | 22 | ||
diff --git a/src/modules/prefs/elm_vertical_box.c b/src/modules/prefs/elm_vertical_box.c index 2b23a45c9..c7ffa0854 100644 --- a/src/modules/prefs/elm_vertical_box.c +++ b/src/modules/prefs/elm_vertical_box.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_vertical_box_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_vertical_box_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *obj = elm_box_add(prefs); | 7 | Evas_Object *obj = elm_box_add(prefs); |
diff --git a/src/modules/prefs/elm_vertical_frame.c b/src/modules/prefs/elm_vertical_frame.c index 06bb5c5fe..0df2a4a68 100644 --- a/src/modules/prefs/elm_vertical_frame.c +++ b/src/modules/prefs/elm_vertical_frame.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "private.h" | 1 | #include "private.h" |
2 | 2 | ||
3 | static Evas_Object * | 3 | static Evas_Object * |
4 | elm_prefs_vertical_frame_add(const Elm_Prefs_Page_Iface *iface __UNUSED__, | 4 | elm_prefs_vertical_frame_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED, |
5 | Evas_Object *prefs) | 5 | Evas_Object *prefs) |
6 | { | 6 | { |
7 | Evas_Object *bx, *obj = elm_frame_add(prefs); | 7 | Evas_Object *bx, *obj = elm_frame_add(prefs); |
diff --git a/src/modules/prefs/prefs_iface.c b/src/modules/prefs/prefs_iface.c index 5d1b12bcc..1150fcbd2 100644 --- a/src/modules/prefs/prefs_iface.c +++ b/src/modules/prefs/prefs_iface.c | |||
@@ -263,7 +263,7 @@ elm_prefs_page_common_unpack(Evas_Object *it, | |||
263 | } | 263 | } |
264 | 264 | ||
265 | EAPI int | 265 | EAPI int |
266 | elm_modapi_init(void *m __UNUSED__) | 266 | elm_modapi_init(void *m EINA_UNUSED) |
267 | { | 267 | { |
268 | _elm_prefs_log_dom = eina_log_domain_register | 268 | _elm_prefs_log_dom = eina_log_domain_register |
269 | ("elm-prefs", EINA_COLOR_YELLOW); | 269 | ("elm-prefs", EINA_COLOR_YELLOW); |
@@ -275,7 +275,7 @@ elm_modapi_init(void *m __UNUSED__) | |||
275 | } | 275 | } |
276 | 276 | ||
277 | EAPI int | 277 | EAPI int |
278 | elm_modapi_shutdown(void *m __UNUSED__) | 278 | elm_modapi_shutdown(void *m EINA_UNUSED) |
279 | { | 279 | { |
280 | elm_prefs_item_iface_unregister(_elm_prefs_item_widgets); | 280 | elm_prefs_item_iface_unregister(_elm_prefs_item_widgets); |
281 | elm_prefs_page_iface_unregister(_elm_prefs_page_widgets); | 281 | elm_prefs_page_iface_unregister(_elm_prefs_page_widgets); |
diff --git a/src/modules/test_entry/mod.c b/src/modules/test_entry/mod.c index c3620b2e7..025d9b435 100644 --- a/src/modules/test_entry/mod.c +++ b/src/modules/test_entry/mod.c | |||
@@ -6,13 +6,13 @@ | |||
6 | 6 | ||
7 | // module api funcs needed | 7 | // module api funcs needed |
8 | EAPI int | 8 | EAPI int |
9 | elm_modapi_init(void *m __UNUSED__) | 9 | elm_modapi_init(void *m EINA_UNUSED) |
10 | { | 10 | { |
11 | return 1; // succeed always | 11 | return 1; // succeed always |
12 | } | 12 | } |
13 | 13 | ||
14 | EAPI int | 14 | EAPI int |
15 | elm_modapi_shutdown(void *m __UNUSED__) | 15 | elm_modapi_shutdown(void *m EINA_UNUSED) |
16 | { | 16 | { |
17 | return 1; // succeed always | 17 | return 1; // succeed always |
18 | } | 18 | } |
diff --git a/src/modules/test_map/mod.c b/src/modules/test_map/mod.c index 4bbdcea29..452fd0598 100644 --- a/src/modules/test_map/mod.c +++ b/src/modules/test_map/mod.c | |||
@@ -24,7 +24,7 @@ map_module_tile_zoom_max_get(void) | |||
24 | } | 24 | } |
25 | 25 | ||
26 | EAPI char * | 26 | EAPI char * |
27 | map_module_tile_url_get(Evas_Object *obj __UNUSED__, int x, int y, int zoom) | 27 | map_module_tile_url_get(Evas_Object *obj EINA_UNUSED, int x, int y, int zoom) |
28 | { | 28 | { |
29 | char buf[PATH_MAX]; | 29 | char buf[PATH_MAX]; |
30 | snprintf(buf, sizeof(buf), "http://tile.openstreetmap.org/%d/%d/%d.png", | 30 | snprintf(buf, sizeof(buf), "http://tile.openstreetmap.org/%d/%d/%d.png", |
@@ -39,25 +39,25 @@ map_module_route_source_get(void) | |||
39 | } | 39 | } |
40 | 40 | ||
41 | EAPI char * | 41 | EAPI char * |
42 | map_module_route_url_get(Evas_Object *obj __UNUSED__, const char *type_name __UNUSED__, int method __UNUSED__, double flon __UNUSED__, double flat __UNUSED__, double tlon __UNUSED__, double tlat __UNUSED__) | 42 | map_module_route_url_get(Evas_Object *obj EINA_UNUSED, const char *type_name EINA_UNUSED, int method EINA_UNUSED, double flon EINA_UNUSED, double flat EINA_UNUSED, double tlon EINA_UNUSED, double tlat EINA_UNUSED) |
43 | { | 43 | { |
44 | return strdup(""); | 44 | return strdup(""); |
45 | } | 45 | } |
46 | 46 | ||
47 | EAPI char * | 47 | EAPI char * |
48 | map_module_name_url_get(Evas_Object *obj __UNUSED__, int method __UNUSED__, const char *name __UNUSED__, double lon __UNUSED__, double lat __UNUSED__) | 48 | map_module_name_url_get(Evas_Object *obj EINA_UNUSED, int method EINA_UNUSED, const char *name EINA_UNUSED, double lon EINA_UNUSED, double lat EINA_UNUSED) |
49 | { | 49 | { |
50 | return strdup(""); | 50 | return strdup(""); |
51 | } | 51 | } |
52 | 52 | ||
53 | EAPI Eina_Bool | 53 | EAPI Eina_Bool |
54 | map_module_tile_geo_to_coord(const Evas_Object *obj __UNUSED__, int zoom __UNUSED__, double lon __UNUSED__, double lat __UNUSED__, int size __UNUSED__, int *x __UNUSED__, int *y __UNUSED__) | 54 | map_module_tile_geo_to_coord(const Evas_Object *obj EINA_UNUSED, int zoom EINA_UNUSED, double lon EINA_UNUSED, double lat EINA_UNUSED, int size EINA_UNUSED, int *x EINA_UNUSED, int *y EINA_UNUSED) |
55 | { | 55 | { |
56 | return EINA_FALSE; | 56 | return EINA_FALSE; |
57 | } | 57 | } |
58 | 58 | ||
59 | EAPI Eina_Bool | 59 | EAPI Eina_Bool |
60 | map_module_tile_coord_to_geo(const Evas_Object *obj __UNUSED__, int zoom __UNUSED__, int x __UNUSED__, int y __UNUSED__, int size __UNUSED__, double *lon __UNUSED__, double *lat __UNUSED__) | 60 | map_module_tile_coord_to_geo(const Evas_Object *obj EINA_UNUSED, int zoom EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int size EINA_UNUSED, double *lon EINA_UNUSED, double *lat EINA_UNUSED) |
61 | { | 61 | { |
62 | return EINA_FALSE; | 62 | return EINA_FALSE; |
63 | } | 63 | } |