diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2012-10-26 09:01:52 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2012-10-26 09:01:52 +0000 |
commit | 5bdb5d376373dab8bf624388cac520094be95b63 (patch) | |
tree | e494c3a000eeb506e63cd55a77f310767633e0d8 /src/lib/embryo/embryo_time.c | |
parent | 124e0d4afdff0937d8be8014f4dea5f78aa9f76f (diff) |
merge: add embryo
please check and report problems (not cosmetic ones)
someone should update the efl.spec.in file, i don't know that stuff
SVN revision: 78512
Diffstat (limited to '')
-rw-r--r-- | src/lib/embryo/embryo_time.c (renamed from legacy/embryo/src/lib/embryo_time.c) | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/legacy/embryo/src/lib/embryo_time.c b/src/lib/embryo/embryo_time.c index 90c14cfd89..8725377b0c 100644 --- a/legacy/embryo/src/lib/embryo_time.c +++ b/src/lib/embryo/embryo_time.c | |||
@@ -2,10 +2,6 @@ | |||
2 | # include "config.h" | 2 | # include "config.h" |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #ifndef EFL_HAVE_GETTIMEOFDAY | ||
6 | # error "Your platform isn't supported yet" | ||
7 | #endif | ||
8 | |||
9 | #include <sys/time.h> | 5 | #include <sys/time.h> |
10 | #include <time.h> | 6 | #include <time.h> |
11 | 7 | ||
@@ -21,13 +17,15 @@ | |||
21 | # include <Exotic.h> | 17 | # include <Exotic.h> |
22 | #endif | 18 | #endif |
23 | 19 | ||
20 | #include <Eina.h> | ||
21 | |||
24 | #include "Embryo.h" | 22 | #include "Embryo.h" |
25 | #include "embryo_private.h" | 23 | #include "embryo_private.h" |
26 | 24 | ||
27 | /* exported time api */ | 25 | /* exported time api */ |
28 | 26 | ||
29 | static Embryo_Cell | 27 | static Embryo_Cell |
30 | _embryo_time_seconds(Embryo_Program *ep __UNUSED__, Embryo_Cell *params __UNUSED__) | 28 | _embryo_time_seconds(Embryo_Program *ep EINA_UNUSED, Embryo_Cell *params EINA_UNUSED) |
31 | { | 29 | { |
32 | struct timeval timev; | 30 | struct timeval timev; |
33 | double t; | 31 | double t; |