Re: [PATCH 2/4] WorkStruct: Typedef the work function prototype

From: Jan Engelhardt
Date: Tue Nov 21 2006 - 09:57:56 EST



On Nov 20 2006 15:47, David Howells wrote:
>Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> 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
> {
> ...
> }

That should not compile.


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/