WorkStruct: Typedef the work function prototype
Define a type for the work function prototype. It's not only kept in the
work_struct struct, it's also passed as an argument to several functions.
This makes it easier to change it.
Signed-Off-By: NDavid Howells <dhowells@redhat.com>
Showing
想要评论请 注册 或 登录