diff options
author | bde <bde@FreeBSD.org> | 2001-02-06 01:02:59 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-02-06 01:02:59 +0000 |
commit | 55aff82fbc47b7146df4afe1f574c2de17db81f5 (patch) | |
tree | c79fadcedd9f4a85da39923d483b6174073e8d88 /lib/libusb | |
parent | 41bcb6a4a016c530880cb8ddb5aa8fa4afdf3138 (diff) | |
download | FreeBSD-src-55aff82fbc47b7146df4afe1f574c2de17db81f5.zip FreeBSD-src-55aff82fbc47b7146df4afe1f574c2de17db81f5.tar.gz |
Fixed prototypes. About half of them were wrong (mainly due to const
poisoning having not reached here).
Diffstat (limited to 'lib/libusb')
-rw-r--r-- | lib/libusb/usb.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libusb/usb.3 b/lib/libusb/usb.3 index 68d658e..0b58ea9 100644 --- a/lib/libusb/usb.3 +++ b/lib/libusb/usb.3 @@ -63,21 +63,21 @@ .Ft int .Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k" .Ft int -.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h" -.Ft char * +.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h" +.Ft const char * .Fn hid_usage_page "int i" -.Ft char * -.Fn hid_usage_in_page "u_int u" +.Ft const char * +.Fn hid_usage_in_page "unsigned int u" .Ft int -.Fn hid_parse_usage_page "const char *" -.Ft char * -.Fn hid_parse_usage_in_page "const char *" +.Fn hid_parse_usage_page "const char *name" +.Ft int +.Fn hid_parse_usage_in_page "const char *name" .Ft void -.Fn hid_init "char *file" +.Fn hid_init "const char *file" .Ft int -.Fn hid_get_data "void *data" "hid_item_t *h" +.Fn hid_get_data "const void *data" "const hid_item_t *h" .Ft void -.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data" +.Fn hid_set_data "void *p" "const hid_item_t *h" "int data" .Sh DESCRIPTION The .Nm |