aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/elementary/location_example_01.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/location_example_01.c')
-rw-r--r--src/examples/elementary/location_example_01.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/examples/elementary/location_example_01.c b/src/examples/elementary/location_example_01.c
index 96ca818069..b98371de36 100644
--- a/src/examples/elementary/location_example_01.c
+++ b/src/examples/elementary/location_example_01.c
@@ -1,7 +1,12 @@
//Compile with:
//gcc -o location_example_01 location_example_01.c -g `pkg-config --cflags --libs elementary elocation`
+#ifndef EFL_EO_API_SUPPORT
+# define EFL_EO_API_SUPPORT
+#endif
+#ifndef EFL_BETA_API_SUPPORT
+# define EFL_BETA_API_SUPPORT
+#endif
-#define EFL_BETA_API_SUPPORT
#include <Elementary.h>
#ifdef ELM_ELOCATION
#include <Elocation.h>
@@ -57,7 +62,7 @@ _print_address(Elocation_Address *address)
}
static Eina_Bool
-_position_changed(void *data, int ev_type, void *event)
+_position_changed(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
{
Elocation_Position *position;