unified callback parameter definition of size_t and uint32, now uses size_t

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18869 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2006-09-16 23:35:26 +00:00
parent 82029bdae8
commit 12cf623f5c
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ struct usb_configuration_info {
};
typedef void (*usb_callback_func)(void *cookie, uint32 status, void *data,
uint32 actualLength);
size_t actualLength);
/* The usb_module_info represents the public API of the USB Stack. */

View File

@ -80,7 +80,7 @@ typedef struct {
} usb_iso_packet_descriptor;
typedef void (*usb_callback_func)(void *cookie, uint32 status, void *data,
uint32 actualLength);
size_t actualLength);
/* The usb_module_info represents the public API of the USB Stack. */

View File

@ -231,7 +231,7 @@ Hub::Explore()
void
Hub::InterruptCallback(void *cookie, uint32 status, void *data,
uint32 actualLength)
size_t actualLength)
{
TRACE(("USB Hub: interrupt callback!\n"));
}

View File

@ -426,7 +426,7 @@ virtual status_t GetDescriptor(uint8 descriptorType,
void Explore();
static void InterruptCallback(void *cookie,
uint32 status, void *data,
uint32 actualLength);
size_t actualLength);
virtual void ReportDevice(
usb_support_descriptor *supportDescriptors,