Skip to content

Commit 36eed67

Browse files
committed
Correct signature of queuedetails.init
Found by https://clang.llvm.org/docs/ControlFlowIntegrity.html
1 parent fcab7f7 commit 36eed67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct queuedetails {
3232
/** @brief Per-thread initialization
3333
* @return Per-thread value to be passed to other callbacks
3434
*/
35-
void *(*init)();
35+
void *(*init)(void);
3636

3737
/** @brief Worker method
3838
* @param job Job to process

0 commit comments

Comments
 (0)