aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/odp/api/init.h')
-rw-r--r--include/odp/api/init.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/odp/api/init.h b/include/odp/api/init.h
index 01faedc1e..0e940fc92 100644
--- a/include/odp/api/init.h
+++ b/include/odp/api/init.h
@@ -30,6 +30,7 @@ extern "C" {
#include <odp/std_types.h>
#include <odp/hints.h>
+#include <odp/thread.h>
/** @defgroup odp_initialization ODP INITIALIZATION
* Initialisation operations.
@@ -174,10 +175,12 @@ int odp_term_global(void);
* @sa odp_term_local()
* @sa odp_init_global() which must have been called prior to this.
*
+ * @param thr_type Thread type
+ *
* @retval 0 on success
* @retval <0 on failure
*/
-int odp_init_local(void);
+int odp_init_local(odp_thread_type_t thr_type);
/**