*
* @since_tizen 3.0
*
- * @return #YACA_ERROR_NONE on success
- * @retval #YACA_ERROR_NONE Successful
- *
* @see yaca_initialize()
*/
-int yaca_cleanup(void);
+void yaca_cleanup(void);
/**
* @brief Allocates the memory.
return ret;
}
-API int yaca_cleanup(void)
+API void yaca_cleanup(void)
{
/* calling cleanup twice on the same thread is a NOP */
if (!current_thread_initialized)
- return YACA_ERROR_NONE;
+ return;
/* per thread cleanup */
ERR_remove_thread_state(NULL);
current_thread_initialized = false;
}
pthread_mutex_unlock(&init_mutex);
-
- return YACA_ERROR_NONE;
}
API int yaca_malloc(size_t size, void **memory)