summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-10-04 09:31:46 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-10-04 09:31:46 +0000
commit1000f350e370a788ff5b2ff248b36872ccf43a71 (patch)
tree43854493ee2b047781b18e713b0cdef51c1c5667 /src/examples
parentc3fd0444b1d78035b12acf7dde7cec5ff1f37df2 (diff)
efl: backport Igor's eina patch.
SVN revision: 77415
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eina/eina_array_01.c2
-rw-r--r--src/examples/eina/eina_array_02.c2
-rw-r--r--src/examples/eina/eina_hash_08.c2
3 files changed, 1 insertions, 5 deletions
diff --git a/src/examples/eina/eina_array_01.c b/src/examples/eina/eina_array_01.c
index 43a332d87d..f55832d23e 100644
--- a/src/examples/eina/eina_array_01.c
+++ b/src/examples/eina/eina_array_01.c
@@ -23,8 +23,6 @@ main(int argc, char **argv)
23 "skulls", "bulldog", "flat top", "hammerhead", "gonzo" 23 "skulls", "bulldog", "flat top", "hammerhead", "gonzo"
24 }; 24 };
25 Eina_Array *array; 25 Eina_Array *array;
26 Eina_Array_Iterator iterator;
27 char *item;
28 unsigned int i; 26 unsigned int i;
29 27
30 eina_init(); 28 eina_init();
diff --git a/src/examples/eina/eina_array_02.c b/src/examples/eina/eina_array_02.c
index 6b2903b21a..6decdd3392 100644
--- a/src/examples/eina/eina_array_02.c
+++ b/src/examples/eina/eina_array_02.c
@@ -47,7 +47,7 @@ main(int argc, char **argv)
47 47
48 eina_array_remove(array, keep, NULL); 48 eina_array_remove(array, keep, NULL);
49 EINA_ARRAY_ITER_NEXT(array, i, item, iterator) 49 EINA_ARRAY_ITER_NEXT(array, i, item, iterator)
50 printf("item #%d: %s\n", i, item); 50 printf("item #%u: %s\n", i, item);
51 51
52 eina_array_free(array); 52 eina_array_free(array);
53 53
diff --git a/src/examples/eina/eina_hash_08.c b/src/examples/eina/eina_hash_08.c
index ed45f7f90f..ce6a2a56d0 100644
--- a/src/examples/eina/eina_hash_08.c
+++ b/src/examples/eina/eina_hash_08.c
@@ -59,8 +59,6 @@ main(int argc, const char *argv[])
59 int saved_entry_size = sizeof("Alceu Valenca"); 59 int saved_entry_size = sizeof("Alceu Valenca");
60 const char *phone = NULL; 60 const char *phone = NULL;
61 Eina_Bool r; 61 Eina_Bool r;
62 Eina_Iterator *it;
63 void *data;
64 62
65 eina_init(); 63 eina_init();
66 64