WorkStruct: Typedef the work function prototype
commit6bb49e5965c1fc399b4d3cd2b5cf2da535b330c0
authorDavid Howells <dhowells@redhat.com>
Wed, 22 Nov 2006 14:54:45 +0000 (22 14:54 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 22 Nov 2006 14:54:45 +0000 (22 14:54 +0000)
treeebf48d3bb43c8dbf65d2653b8810973e69d3517e
parent52bad64d95bd89e08c49ec5a071fa6dcbe5a1a9c
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: David Howells <dhowells@redhat.com>
drivers/block/floppy.c
include/linux/workqueue.h
kernel/workqueue.c