docs: fix simple typo, successs -> success

There is a small typo in thpool.h.

Should read `success` rather than `successs`.
This commit is contained in:
Tim Gates 2020-12-07 21:51:28 +11:00
parent 66fae216b7
commit 3d8745b98c
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05

View File

@ -62,7 +62,7 @@ threadpool thpool_init(int num_threads);
* @param threadpool threadpool to which the work will be added
* @param function_p pointer to function to add as work
* @param arg_p pointer to an argument
* @return 0 on successs, -1 otherwise.
* @return 0 on success, -1 otherwise.
*/
int thpool_add_work(threadpool, void (*function_p)(void*), void* arg_p);