summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-12-18 16:17:04 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-12-18 16:17:04 -0800
commit90f30ea418b75df94bd4693dfecde77e9b40f29c (patch)
tree8cf9e54c4559f0157b9acaae1428a5f659fc631f /src/lib
parent29d4cb864b4bd0f5061cc4ff87951661a241dcdf (diff)
eina: make __eina_promise_cancel_all an internal only function.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore/ecore_main.c2
-rw-r--r--src/lib/eina/eina_promise.c2
-rw-r--r--src/lib/eina/eina_promise.h9
-rw-r--r--src/lib/eo/efl_future.c3
4 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index ab90919e5d..715a207caf 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -62,6 +62,8 @@
62 62
63#include "ecore_main_common.h" 63#include "ecore_main_common.h"
64 64
65#include "eina_internal.h"
66
65#ifdef USE_G_MAIN_LOOP 67#ifdef USE_G_MAIN_LOOP
66# include <glib.h> 68# include <glib.h>
67#endif 69#endif
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index 7e7617ceb7..437a9cf431 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -6,6 +6,8 @@
6#include "eina_promise.h" 6#include "eina_promise.h"
7#include "eina_mempool.h" 7#include "eina_mempool.h"
8#include "eina_promise_private.h" 8#include "eina_promise_private.h"
9#include "eina_internal.h"
10
9#include <errno.h> 11#include <errno.h>
10#include <stdarg.h> 12#include <stdarg.h>
11#include <assert.h> 13#include <assert.h>
diff --git a/src/lib/eina/eina_promise.h b/src/lib/eina/eina_promise.h
index 41778c54a6..f2275bee90 100644
--- a/src/lib/eina/eina_promise.h
+++ b/src/lib/eina/eina_promise.h
@@ -1737,15 +1737,6 @@ eina_future_race_array(Eina_Future *array[])
1737#define eina_future_chain_easy(_prev, ...) eina_future_chain_easy_array(_prev, (Eina_Future_Cb_Easy_Desc[]) {__VA_ARGS__, {NULL, NULL, NULL, NULL, NULL}}) 1737#define eina_future_chain_easy(_prev, ...) eina_future_chain_easy_array(_prev, (Eina_Future_Cb_Easy_Desc[]) {__VA_ARGS__, {NULL, NULL, NULL, NULL, NULL}})
1738 1738
1739/** 1739/**
1740 * @brief Cancels all pending promise/futures.
1741 *
1742 * Internal function. Do not use.
1743 *
1744 * @internal
1745 */
1746EAPI void __eina_promise_cancel_all(void);
1747
1748/**
1749 * @} 1740 * @}
1750 */ 1741 */
1751 1742
diff --git a/src/lib/eo/efl_future.c b/src/lib/eo/efl_future.c
index 8f19a34e11..4da24f5e82 100644
--- a/src/lib/eo/efl_future.c
+++ b/src/lib/eo/efl_future.c
@@ -3,6 +3,9 @@
3#endif 3#endif
4 4
5#include <Eina.h> 5#include <Eina.h>
6
7#include "eina_internal.h"
8
6#include "Eo.h" 9#include "Eo.h"
7 10
8// Efl.Future implementation is an opaque type in Ecore. 11// Efl.Future implementation is an opaque type in Ecore.