Skip to content

Commit 3b37591

Browse files
committed
rthreads: Fix documentation (void function doesn’t return)
1 parent b560397 commit 3b37591

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

include/rthreads/rthreads.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ int sthread_detach(sthread_t *thread);
9090
* @thread to terminate. If that thread has already terminated, then
9191
* it will return immediately. The thread specified by @thread must
9292
* be joinable.
93-
*
94-
* Returns: 0 on success, otherwise it returns a non-zero error number.
9593
*/
9694
void sthread_join(sthread_t *thread);
9795

rthreads/rthreads.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,6 @@ int sthread_detach(sthread_t *thread)
285285
* @thread to terminate. If that thread has already terminated, then
286286
* it will return immediately. The thread specified by @thread must
287287
* be joinable.
288-
*
289-
* Returns: 0 on success, otherwise it returns a non-zero error number.
290288
*/
291289
void sthread_join(sthread_t *thread)
292290
{

0 commit comments

Comments
 (0)