Skip to content

Commit

Permalink
correct macro RETURN_FROM_THREAD_NOJOIN definition to be not null
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Nov 19, 2024
1 parent 84bbe3b commit 722bde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ typedef struct w64wrapper {
#define THREAD_RETURN_NOJOIN void
typedef THREAD_RETURN_NOJOIN
(WOLFSSL_THREAD_NO_JOIN *THREAD_CB_NOJOIN)(void* arg);
#define RETURN_FROM_THREAD_NOJOIN(x)
#define RETURN_FROM_THREAD_NOJOIN(x) return
#endif
WOLFSSL_API int wolfSSL_NewThreadNoJoin(THREAD_CB_NOJOIN cb,
void* arg);
Expand Down

0 comments on commit 722bde9

Please sign in to comment.