aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-06-24 16:15:56 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-06-24 16:15:56 +0000
commitfbe90643103da8df6d452eed3c3b49cf1e11b7c1 (patch)
tree7a6444cb418881166f783a4552694bd2bd5911aa /legacy/ecore/src/lib/ecore/ecore.c
parentfix test (diff)
downloadefl-fbe90643103da8df6d452eed3c3b49cf1e11b7c1.tar.gz
* ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index a77bf2c293..910e759deb 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -46,7 +46,7 @@ EAPI Ecore_Version *ecore_version = &_version;
if (Global < (Local)) \
Global = Local;
-static int _ecore_memory_statistic(void *data);
+static Eina_Bool _ecore_memory_statistic(void *data);
static int _ecore_memory_max_total = 0;
static int _ecore_memory_max_free = 0;
static pid_t _ecore_memory_pid = 0;
@@ -386,7 +386,7 @@ _ecore_fps_debug_runtime_add(double t)
}
#if HAVE_MALLINFO
-static int
+static Eina_Bool
_ecore_memory_statistic(__UNUSED__ void *data)
{
struct mallinfo mi;
@@ -415,6 +415,6 @@ _ecore_memory_statistic(__UNUSED__ void *data)
KEEP_MAX(_ecore_memory_max_total, mi.uordblks);
KEEP_MAX(_ecore_memory_max_free, mi.fordblks);
- return 1;
+ return ECORE_CALLBACK_RENEW;
}
#endif