kernel: Make work queue API C++ compatible
The new userspace work queue API is not C++ compatible. When changing from old API to new API (commitb706a5e999
,4e3b926
) the C++ compatibility was lost. Signed-off-by: Fredrik Gihl <fredrik.gihl@flir.se>
This commit is contained in:
parent
bc8bdebca7
commit
67295be71e
1 changed files with 2 additions and 0 deletions
|
@ -3812,7 +3812,9 @@ struct k_work_user {
|
|||
|
||||
#define Z_WORK_USER_INITIALIZER(work_handler) \
|
||||
{ \
|
||||
._reserved = NULL, \
|
||||
.handler = work_handler, \
|
||||
.flags = 0 \
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue