mirror of https://gitee.com/openkylin/libvirt.git
threadpool: allow NULL jobdata
Don't require non-null jobdata to virThreadPoolSendJob().
This commit is contained in:
parent
51798a5d1c
commit
b2dbc16044
|
@ -42,7 +42,6 @@ void virThreadPoolFree(virThreadPoolPtr pool);
|
|||
|
||||
int virThreadPoolSendJob(virThreadPoolPtr pool,
|
||||
void *jobdata) ATTRIBUTE_NONNULL(1)
|
||||
ATTRIBUTE_NONNULL(2)
|
||||
ATTRIBUTE_RETURN_CHECK;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue