[lkml]   [2006]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/4] WorkStruct: Typedef the work function prototype
Stefan Richter <> wrote:

> > 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.
> If so, it should certainly also be used in the declarations and
> definitions of the work functions.

Is this what you mean?:

work_func_t do_my_work

DECLARE_WORK(my_work, do_my_work);

void do_it(void)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-20 16:53    [W:0.088 / U:17.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site