diff options
Diffstat (limited to 'Source/charon/threads/scheduler.h')
-rw-r--r-- | Source/charon/threads/scheduler.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/charon/threads/scheduler.h b/Source/charon/threads/scheduler.h index 9eeccbbf9..da41cd6d7 100644 --- a/Source/charon/threads/scheduler.h +++ b/Source/charon/threads/scheduler.h @@ -41,10 +41,8 @@ struct scheduler_t { * @brief Destroys a scheduler object. * * @param scheduler scheduler object - * @return - * - SUCCESS in any case */ - status_t (*destroy) (scheduler_t *scheduler); + void (*destroy) (scheduler_t *scheduler); }; /** @@ -54,8 +52,8 @@ struct scheduler_t { * and adds them to the job queue. * * @return - * - the created scheduler_t instance, or - * - NULL if thread could not be started + * - the created scheduler_t instance, or + * - NULL if thread could not be started * * @ingroup threads */ |