diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-01-26 17:26:40 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2008-01-26 17:26:40 +0000 |
commit | e3ce855acec33d37dd833bca5dad5e8c3773003a (patch) | |
tree | 2df04a59b87526a7d2ee47ee1ebfd28300143f33 /examples/dpfp.c | |
parent | 1d41a5cda2fefe826877ee4445199af30aa188b7 (diff) | |
download | libusb-e3ce855acec33d37dd833bca5dad5e8c3773003a.tar.gz |
Fix dpfp example compilation
Diffstat (limited to 'examples/dpfp.c')
-rw-r--r-- | examples/dpfp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/dpfp.c b/examples/dpfp.c index eb81cff..d5b0c63 100644 --- a/examples/dpfp.c +++ b/examples/dpfp.c @@ -205,7 +205,7 @@ static int set_mode(unsigned char data) } static void cb_mode_changed(struct libusb_dev_handle *_devh, - struct libusb_urb_handle *urbh, enum fp_urb_cb_status status, + struct libusb_urb_handle *urbh, enum libusb_urb_cb_status status, struct libusb_ctrl_setup *setup, unsigned char *data, int actual_length, void *user_data) { @@ -337,7 +337,7 @@ static int next_state(void) } static void cb_irq(libusb_dev_handle *_devh, libusb_urb_handle *urbh, - enum fp_urb_cb_status status, unsigned char endpoint, int rqlength, + enum libusb_urb_cb_status status, unsigned char endpoint, int rqlength, unsigned char *data, int actual_length, void *user_data) { unsigned char irqtype = data[0]; @@ -376,7 +376,7 @@ static void cb_irq(libusb_dev_handle *_devh, libusb_urb_handle *urbh, } static void cb_img(libusb_dev_handle *_devh, libusb_urb_handle *urbh, - enum fp_urb_cb_status status, unsigned char endpoint, int rqlength, + enum libusb_urb_cb_status status, unsigned char endpoint, int rqlength, unsigned char *data, int actual_length, void *user_data) { if (status != FP_URB_COMPLETED) { |