summaryrefslogtreecommitdiff
path: root/legacy/elementary
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:51:57 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 00:51:57 +0000
commita654866ee23990e3e68fd3c82330ed15508b3d6f (patch)
treef3cd5211c870013a38c4e4dea2dec4fd1974bf9f /legacy/elementary
parenta1888419bde855c779f8c2ab44c1531175bdd4e4 (diff)
elm examples: Define __UNUSED__ when HAVE_CONFIG_H is not defined.
SVN revision: 69678
Diffstat (limited to 'legacy/elementary')
-rw-r--r--legacy/elementary/src/examples/box_example_02.c3
-rw-r--r--legacy/elementary/src/examples/bubble_example_01.c2
-rw-r--r--legacy/elementary/src/examples/check_example_01.c2
-rw-r--r--legacy/elementary/src/examples/colorselector_example_01.c2
-rw-r--r--legacy/elementary/src/examples/efl_thread_1.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_2.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_3.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_4.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_5.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_6.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_win32_1.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_win32_2.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_win32_3.c5
-rw-r--r--legacy/elementary/src/examples/efl_thread_win32_4.c5
-rw-r--r--legacy/elementary/src/examples/flip_example_01.c2
-rw-r--r--legacy/elementary/src/examples/glview_example_01.c5
-rw-r--r--legacy/elementary/src/examples/hover_example_01.c4
-rw-r--r--legacy/elementary/src/examples/hoversel_example_01.c2
-rw-r--r--legacy/elementary/src/examples/label_example_01.c2
-rw-r--r--legacy/elementary/src/examples/menu_example_01.c2
-rw-r--r--legacy/elementary/src/examples/notify_example_01.c2
-rw-r--r--legacy/elementary/src/examples/panel_example_01.c2
-rw-r--r--legacy/elementary/src/examples/photocam_example_01.c2
-rw-r--r--legacy/elementary/src/examples/radio_example_01.c2
-rw-r--r--legacy/elementary/src/examples/scroller_example_01.c2
-rw-r--r--legacy/elementary/src/examples/separator_example_01.c2
-rw-r--r--legacy/elementary/src/examples/table_example_01.c2
-rw-r--r--legacy/elementary/src/examples/table_example_02.c2
28 files changed, 91 insertions, 1 deletions
diff --git a/legacy/elementary/src/examples/box_example_02.c b/legacy/elementary/src/examples/box_example_02.c
index 3e4b3d1b98..16ac525905 100644
--- a/legacy/elementary/src/examples/box_example_02.c
+++ b/legacy/elementary/src/examples/box_example_02.c
@@ -1,3 +1,6 @@
1//Compile with:
2//gcc -g `pkg-config --cflags --libs elementary` box_example_02.c -o box_example_02
3
1#include <Elementary.h> 4#include <Elementary.h>
2#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
3# include "elementary_config.h" 6# include "elementary_config.h"
diff --git a/legacy/elementary/src/examples/bubble_example_01.c b/legacy/elementary/src/examples/bubble_example_01.c
index 3061b6c77a..21db797d9f 100644
--- a/legacy/elementary/src/examples/bubble_example_01.c
+++ b/legacy/elementary/src/examples/bubble_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9void 11void
diff --git a/legacy/elementary/src/examples/check_example_01.c b/legacy/elementary/src/examples/check_example_01.c
index 84e5923fc3..a23219323f 100644
--- a/legacy/elementary/src/examples/check_example_01.c
+++ b/legacy/elementary/src/examples/check_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void _print(void *data, Evas_Object *obj, void *event_info); 11static void _print(void *data, Evas_Object *obj, void *event_info);
diff --git a/legacy/elementary/src/examples/colorselector_example_01.c b/legacy/elementary/src/examples/colorselector_example_01.c
index 1b97dc772c..a9225b78eb 100644
--- a/legacy/elementary/src/examples/colorselector_example_01.c
+++ b/legacy/elementary/src/examples/colorselector_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void _change_color(void *data, Evas_Object *obj, void *event_info); 11static void _change_color(void *data, Evas_Object *obj, void *event_info);
diff --git a/legacy/elementary/src/examples/efl_thread_1.c b/legacy/elementary/src/examples/efl_thread_1.c
index baa67aeb46..5edf777cba 100644
--- a/legacy/elementary/src/examples/efl_thread_1.c
+++ b/legacy/elementary/src/examples/efl_thread_1.c
@@ -2,6 +2,11 @@
2//gcc -o efl_thread_1 efl_thread_1.c -g `pkg-config --cflags --libs elementary` 2//gcc -o efl_thread_1 efl_thread_1.c -g `pkg-config --cflags --libs elementary`
3#include <Elementary.h> 3#include <Elementary.h>
4#include <pthread.h> 4#include <pthread.h>
5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h"
7#else
8# define __UNUSED__
9#endif
5 10
6static Evas_Object *win = NULL; 11static Evas_Object *win = NULL;
7static Evas_Object *rect = NULL; 12static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_2.c b/legacy/elementary/src/examples/efl_thread_2.c
index a7c7493a07..4b736d7467 100644
--- a/legacy/elementary/src/examples/efl_thread_2.c
+++ b/legacy/elementary/src/examples/efl_thread_2.c
@@ -2,6 +2,11 @@
2//gcc -o efl_thread_2 efl_thread_2.c -g `pkg-config --cflags --libs elementary` 2//gcc -o efl_thread_2 efl_thread_2.c -g `pkg-config --cflags --libs elementary`
3#include <Elementary.h> 3#include <Elementary.h>
4#include <pthread.h> 4#include <pthread.h>
5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h"
7#else
8# define __UNUSED__
9#endif
5 10
6static Evas_Object *win = NULL; 11static Evas_Object *win = NULL;
7static Evas_Object *rect = NULL; 12static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_3.c b/legacy/elementary/src/examples/efl_thread_3.c
index cdaa2adf63..ae807a64fa 100644
--- a/legacy/elementary/src/examples/efl_thread_3.c
+++ b/legacy/elementary/src/examples/efl_thread_3.c
@@ -2,6 +2,11 @@
2//gcc -o efl_thread_3 efl_thread_3.c -g `pkg-config --cflags --libs elementary` 2//gcc -o efl_thread_3 efl_thread_3.c -g `pkg-config --cflags --libs elementary`
3#include <Elementary.h> 3#include <Elementary.h>
4#include <pthread.h> 4#include <pthread.h>
5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h"
7#else
8# define __UNUSED__
9#endif
5 10
6static Evas_Object *win = NULL; 11static Evas_Object *win = NULL;
7static Evas_Object *rect = NULL; 12static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_4.c b/legacy/elementary/src/examples/efl_thread_4.c
index eca9c4c40e..0c67f7237d 100644
--- a/legacy/elementary/src/examples/efl_thread_4.c
+++ b/legacy/elementary/src/examples/efl_thread_4.c
@@ -2,6 +2,11 @@
2//gcc -o efl_thread_4 efl_thread_4.c -g `pkg-config --cflags --libs elementary` 2//gcc -o efl_thread_4 efl_thread_4.c -g `pkg-config --cflags --libs elementary`
3#include <Elementary.h> 3#include <Elementary.h>
4#include <pthread.h> 4#include <pthread.h>
5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h"
7#else
8# define __UNUSED__
9#endif
5 10
6static Evas_Object *win = NULL; 11static Evas_Object *win = NULL;
7static Evas_Object *rect = NULL; 12static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_5.c b/legacy/elementary/src/examples/efl_thread_5.c
index 8e64dd237b..4af200fcab 100644
--- a/legacy/elementary/src/examples/efl_thread_5.c
+++ b/legacy/elementary/src/examples/efl_thread_5.c
@@ -1,6 +1,11 @@
1//Compile with: 1//Compile with:
2//gcc -o efl_thread_5 efl_thread_5.c -g `pkg-config --cflags --libs elementary` 2//gcc -o efl_thread_5 efl_thread_5.c -g `pkg-config --cflags --libs elementary`
3#include <Elementary.h> 3#include <Elementary.h>
4#ifdef HAVE_CONFIG_H
5# include "elementary_config.h"
6#else
7# define __UNUSED__
8#endif
4 9
5static Ecore_Thread *th = NULL; 10static Ecore_Thread *th = NULL;
6 11
diff --git a/legacy/elementary/src/examples/efl_thread_6.c b/legacy/elementary/src/examples/efl_thread_6.c
index 6f40862049..c995739da8 100644
--- a/legacy/elementary/src/examples/efl_thread_6.c
+++ b/legacy/elementary/src/examples/efl_thread_6.c
@@ -1,6 +1,11 @@
1//Compile with: 1//Compile with:
2//gcc -o efl_thread_6 efl_thread_6.c -g `pkg-config --cflags --libs elementary` 2//gcc -o efl_thread_6 efl_thread_6.c -g `pkg-config --cflags --libs elementary`
3#include <Elementary.h> 3#include <Elementary.h>
4#ifdef HAVE_CONFIG_H
5# include "elementary_config.h"
6#else
7# define __UNUSED__
8#endif
4 9
5static Evas_Object *win = NULL; 10static Evas_Object *win = NULL;
6static Evas_Object *rect = NULL; 11static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_win32_1.c b/legacy/elementary/src/examples/efl_thread_win32_1.c
index 75d8465b81..7cdf995df1 100644
--- a/legacy/elementary/src/examples/efl_thread_win32_1.c
+++ b/legacy/elementary/src/examples/efl_thread_win32_1.c
@@ -3,6 +3,11 @@
3#include <Elementary.h> 3#include <Elementary.h>
4#define WIN32_LEAN_AND_MEAN 4#define WIN32_LEAN_AND_MEAN
5#include <windows.h> 5#include <windows.h>
6#ifdef HAVE_CONFIG_H
7# include "elementary_config.h"
8#else
9# define __UNUSED__
10#endif
6 11
7static Evas_Object *win = NULL; 12static Evas_Object *win = NULL;
8static Evas_Object *rect = NULL; 13static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_win32_2.c b/legacy/elementary/src/examples/efl_thread_win32_2.c
index a84c242a15..101bfb462e 100644
--- a/legacy/elementary/src/examples/efl_thread_win32_2.c
+++ b/legacy/elementary/src/examples/efl_thread_win32_2.c
@@ -3,6 +3,11 @@
3#include <Elementary.h> 3#include <Elementary.h>
4#define WIN32_LEAN_AND_MEAN 4#define WIN32_LEAN_AND_MEAN
5#include <windows.h> 5#include <windows.h>
6#ifdef HAVE_CONFIG_H
7# include "elementary_config.h"
8#else
9# define __UNUSED__
10#endif
6 11
7static Evas_Object *win = NULL; 12static Evas_Object *win = NULL;
8static Evas_Object *rect = NULL; 13static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_win32_3.c b/legacy/elementary/src/examples/efl_thread_win32_3.c
index bda24050dc..eff6fce15f 100644
--- a/legacy/elementary/src/examples/efl_thread_win32_3.c
+++ b/legacy/elementary/src/examples/efl_thread_win32_3.c
@@ -3,6 +3,11 @@
3#include <Elementary.h> 3#include <Elementary.h>
4#define WIN32_LEAN_AND_MEAN 4#define WIN32_LEAN_AND_MEAN
5#include <windows.h> 5#include <windows.h>
6#ifdef HAVE_CONFIG_H
7# include "elementary_config.h"
8#else
9# define __UNUSED__
10#endif
6 11
7static Evas_Object *win = NULL; 12static Evas_Object *win = NULL;
8static Evas_Object *rect = NULL; 13static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/efl_thread_win32_4.c b/legacy/elementary/src/examples/efl_thread_win32_4.c
index 4b1171be2f..f882d80a0e 100644
--- a/legacy/elementary/src/examples/efl_thread_win32_4.c
+++ b/legacy/elementary/src/examples/efl_thread_win32_4.c
@@ -3,6 +3,11 @@
3#include <Elementary.h> 3#include <Elementary.h>
4#define WIN32_LEAN_AND_MEAN 4#define WIN32_LEAN_AND_MEAN
5#include <windows.h> 5#include <windows.h>
6#ifdef HAVE_CONFIG_H
7# include "elementary_config.h"
8#else
9# define __UNUSED__
10#endif
6 11
7static Evas_Object *win = NULL; 12static Evas_Object *win = NULL;
8static Evas_Object *rect = NULL; 13static Evas_Object *rect = NULL;
diff --git a/legacy/elementary/src/examples/flip_example_01.c b/legacy/elementary/src/examples/flip_example_01.c
index dcce7146bb..95e84e2535 100644
--- a/legacy/elementary/src/examples/flip_example_01.c
+++ b/legacy/elementary/src/examples/flip_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void _change_interaction(void *data, Evas_Object *obj, void *event_info); 11static void _change_interaction(void *data, Evas_Object *obj, void *event_info);
diff --git a/legacy/elementary/src/examples/glview_example_01.c b/legacy/elementary/src/examples/glview_example_01.c
index 107c1b7bf1..3e06a51559 100644
--- a/legacy/elementary/src/examples/glview_example_01.c
+++ b/legacy/elementary/src/examples/glview_example_01.c
@@ -11,6 +11,11 @@
11#include <Elementary.h> 11#include <Elementary.h>
12#include <Evas_GL.h> 12#include <Evas_GL.h>
13#include <stdio.h> 13#include <stdio.h>
14#ifdef HAVE_CONFIG_H
15# include "elementary_config.h"
16#else
17# define __UNUSED__
18#endif
14 19
15typedef struct _GLData GLData; 20typedef struct _GLData GLData;
16 21
diff --git a/legacy/elementary/src/examples/hover_example_01.c b/legacy/elementary/src/examples/hover_example_01.c
index 3a337cb9ac..7e0471892a 100644
--- a/legacy/elementary/src/examples/hover_example_01.c
+++ b/legacy/elementary/src/examples/hover_example_01.c
@@ -4,10 +4,12 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void 11static void
10_show_hover(void *data, Evas_Object *obj, void *event_info) 12_show_hover(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
11{ 13{
12 evas_object_show(data); 14 evas_object_show(data);
13} 15}
diff --git a/legacy/elementary/src/examples/hoversel_example_01.c b/legacy/elementary/src/examples/hoversel_example_01.c
index 10cda69864..d2903293e9 100644
--- a/legacy/elementary/src/examples/hoversel_example_01.c
+++ b/legacy/elementary/src/examples/hoversel_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void _print_items(void *data, Evas_Object *obj, void *event_info); 11static void _print_items(void *data, Evas_Object *obj, void *event_info);
diff --git a/legacy/elementary/src/examples/label_example_01.c b/legacy/elementary/src/examples/label_example_01.c
index b9e26a654c..30f76ebd5e 100644
--- a/legacy/elementary/src/examples/label_example_01.c
+++ b/legacy/elementary/src/examples/label_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9EAPI_MAIN int 11EAPI_MAIN int
diff --git a/legacy/elementary/src/examples/menu_example_01.c b/legacy/elementary/src/examples/menu_example_01.c
index 5b33d47cd8..480d9a4e36 100644
--- a/legacy/elementary/src/examples/menu_example_01.c
+++ b/legacy/elementary/src/examples/menu_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void 11static void
diff --git a/legacy/elementary/src/examples/notify_example_01.c b/legacy/elementary/src/examples/notify_example_01.c
index 33c4b788b0..855298e99b 100644
--- a/legacy/elementary/src/examples/notify_example_01.c
+++ b/legacy/elementary/src/examples/notify_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static void _hide(void *data, Evas_Object *obj, void *event_info); 11static void _hide(void *data, Evas_Object *obj, void *event_info);
diff --git a/legacy/elementary/src/examples/panel_example_01.c b/legacy/elementary/src/examples/panel_example_01.c
index 8e848bfb52..13649d7d8a 100644
--- a/legacy/elementary/src/examples/panel_example_01.c
+++ b/legacy/elementary/src/examples/panel_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9EAPI_MAIN int 11EAPI_MAIN int
diff --git a/legacy/elementary/src/examples/photocam_example_01.c b/legacy/elementary/src/examples/photocam_example_01.c
index 4a5eba8428..b4270b1eed 100644
--- a/legacy/elementary/src/examples/photocam_example_01.c
+++ b/legacy/elementary/src/examples/photocam_example_01.c
@@ -5,6 +5,8 @@
5#include <Elementary.h> 5#include <Elementary.h>
6#ifdef HAVE_CONFIG_H 6#ifdef HAVE_CONFIG_H
7# include "elementary_config.h" 7# include "elementary_config.h"
8#else
9# define __UNUSED__
8#endif 10#endif
9 11
10static void _fit(void *data, Evas_Object *obj, void *event_info); 12static void _fit(void *data, Evas_Object *obj, void *event_info);
diff --git a/legacy/elementary/src/examples/radio_example_01.c b/legacy/elementary/src/examples/radio_example_01.c
index ec5741bd7f..61e9f29dee 100644
--- a/legacy/elementary/src/examples/radio_example_01.c
+++ b/legacy/elementary/src/examples/radio_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static int val = 1; 11static int val = 1;
diff --git a/legacy/elementary/src/examples/scroller_example_01.c b/legacy/elementary/src/examples/scroller_example_01.c
index 3f31efeb50..482e42ee6c 100644
--- a/legacy/elementary/src/examples/scroller_example_01.c
+++ b/legacy/elementary/src/examples/scroller_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9static const char *text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nibh eget vehicula tempus, libero dui aliquam dui, eget pellentesque nulla est id mi. Sed orci nisl, mattis vitae dignissim scelerisque, imperdiet vel arcu. Integer ut libero id massa commodo dignissim sed at orci. Quisque sollicitudin eleifend malesuada. Donec orci orci, mollis quis euismod vel, tincidunt nec ipsum. Sed ut nulla ligula, ut commodo tellus. Duis non felis in odio fringilla venenatis eget in metus. Mauris molestie ipsum tortor. Suspendisse potenti. Curabitur facilisis ultricies cursus. In euismod viverra risus sit amet pharetra. Sed mauris lorem, volutpat a vehicula quis, interdum nec erat. Suspendisse auctor bibendum fringilla. Curabitur tincidunt sem risus.\ 11static const char *text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nibh eget vehicula tempus, libero dui aliquam dui, eget pellentesque nulla est id mi. Sed orci nisl, mattis vitae dignissim scelerisque, imperdiet vel arcu. Integer ut libero id massa commodo dignissim sed at orci. Quisque sollicitudin eleifend malesuada. Donec orci orci, mollis quis euismod vel, tincidunt nec ipsum. Sed ut nulla ligula, ut commodo tellus. Duis non felis in odio fringilla venenatis eget in metus. Mauris molestie ipsum tortor. Suspendisse potenti. Curabitur facilisis ultricies cursus. In euismod viverra risus sit amet pharetra. Sed mauris lorem, volutpat a vehicula quis, interdum nec erat. Suspendisse auctor bibendum fringilla. Curabitur tincidunt sem risus.\
diff --git a/legacy/elementary/src/examples/separator_example_01.c b/legacy/elementary/src/examples/separator_example_01.c
index fbfc6f25d8..ab0afa8bd0 100644
--- a/legacy/elementary/src/examples/separator_example_01.c
+++ b/legacy/elementary/src/examples/separator_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9EAPI_MAIN int 11EAPI_MAIN int
diff --git a/legacy/elementary/src/examples/table_example_01.c b/legacy/elementary/src/examples/table_example_01.c
index 754b5a9bf3..35d8eca9b4 100644
--- a/legacy/elementary/src/examples/table_example_01.c
+++ b/legacy/elementary/src/examples/table_example_01.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9EAPI_MAIN int 11EAPI_MAIN int
diff --git a/legacy/elementary/src/examples/table_example_02.c b/legacy/elementary/src/examples/table_example_02.c
index 3845aca0d9..0d42c340fe 100644
--- a/legacy/elementary/src/examples/table_example_02.c
+++ b/legacy/elementary/src/examples/table_example_02.c
@@ -4,6 +4,8 @@
4#include <Elementary.h> 4#include <Elementary.h>
5#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
6# include "elementary_config.h" 6# include "elementary_config.h"
7#else
8# define __UNUSED__
7#endif 9#endif
8 10
9EAPI_MAIN int 11EAPI_MAIN int